Dinamically button creation

2003-06-11 Thread Archivator
HI, I'm codewarrior beginner :). I have a small problem. How can I make buttons which are dynamically created and erased with the same ResourceID. Programmed as below: CtlNewControl ((void **)frmP, 1323, checkboxCtl, Hello , 1, 1, 15, 11, 1, 1, true); But unfortunately it's doesn't work:(.

Re: Dinamically button creation

2003-06-11 Thread Hangzm
CtlNewControl((void **)frmPtr, 5000, checkboxCtl, fdfd, 1, 2, 40,

Re: Dinamically button creation

2003-06-11 Thread Archivator
Thanks for your answer, but still the same picture on my screen :) there is no any buttons, and also no error's:). Here is necessary just this functinon? Nothing else ? I use Codewarrior 8. Please help as possible :) Thanks. Hangzm [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

RE: Dinamically button creation

2003-06-11 Thread Sadanandam O.
11, 2003 2:28 PM To: Palm Developer Forum Subject: Re: Dinamically button creation Thanks for your answer, but still the same picture on my screen :) there is no any buttons, and also no error's:). Here is necessary just this functinon? Nothing else ? I use Codewarrior 8. Please help as possible

RE: Dinamically button creation

2003-06-11 Thread Sadanandam O.
(). Regards Sadanand. -Original Message- From: Archivator [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:16 PM To: Palm Developer Forum Subject: Re: Dinamically button creation I found this on Palm Api reference. Could you drop me listing of your program. I'm trying to make

Re: Dinamically button creation

2003-06-11 Thread Archivator
); FrmDrawForm(frmP); This is what I used. Make sure u r calling FrmDrawForm() after CtlNewControl(). Regards Sadanand. -Original Message- From: Archivator [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:16 PM To: Palm Developer Forum Subject: Re: Dinamically button creation I found