Dr_Doggy
Well-Known Member
hi, im only half way through my c for dummies book, but i am still having a problem with my code; basically in my c file @the "code case point" i copied the first one(which works) but the copies dont, how would I properly call the other forms with the other buttons. ?
this is the original string:
case ctlSelectEvent:
if (e.data.ctlSelect.controlID == OK1)
FrmGotoForm(Form1);
goto _default;
break;
I have been able to change the value of OK1 and the button associated, but when I use the following there is no reaction.
if (e.data.ctlSelect.controlID == OK2)
FrmGotoForm(Form2);
goto _default;
break;
to associate the buttons the sdk adds the .h file and the rsc. (to add objects easy) the attachment holds my full code. I was hoping that the structure would read the value, (but i need to call the object(?) idk which parameter it is though,
ie. controlID, ctlSelect?)
I took the problem to metrowerks forum but all they say is that they wont support me
this is the code i ripped:
Palm Tutorial Hello World
this is the original string:
case ctlSelectEvent:
if (e.data.ctlSelect.controlID == OK1)
FrmGotoForm(Form1);
goto _default;
break;
I have been able to change the value of OK1 and the button associated, but when I use the following there is no reaction.
if (e.data.ctlSelect.controlID == OK2)
FrmGotoForm(Form2);
goto _default;
break;
to associate the buttons the sdk adds the .h file and the rsc. (to add objects easy) the attachment holds my full code. I was hoping that the structure would read the value, (but i need to call the object(?) idk which parameter it is though,
ie. controlID, ctlSelect?)
I took the problem to metrowerks forum but all they say is that they wont support me
this is the code i ripped:
Palm Tutorial Hello World