Page 1 of 1

PostPosted: Sun Jan 28, 2001 5:28 pm
by Velvis
Has anyone figured out how to simulate OS 3.5 ability to pop the menu down by tapping the formname rather than the menu button?

PostPosted: Sun Jan 28, 2001 8:25 pm
by SyPDA
If you use CControls you should look at the following sample.

int e;
if((penx()<60)&&(peny()<15)) e=11;
if(Cevent(mm1,e)) on_mm1();}

Just insert the pen event before calling the CControls routine.
If you do not use CControls, I hope this gives you a starting point ... <img src=icon_smile.gif border=0 align=middle>

PostPosted: Sun Jan 28, 2001 8:51 pm
by Velvis
Thanks alot it worked perfect...
Now is there a way for it to drop the menu down automatically like standard PalmOS Apps do?

PostPosted: Sun Jan 28, 2001 9:22 pm
by SyPDA
Sorry, I cannot help you with that. I suppose it could be done, but that would require some modifications in CControls?