Page 1 of 1

PostPosted: Sat Mar 24, 2001 4:51 am
by cao
<b>Introduction:</b>
When the developer provides their own menubar, the defaultbar still shows briefly on the screen before menu_off is executed. To avoid that brief 1-2 seconds of delay before the menu turns off. Here is a solution to disable the default completely from the starting point.

<b>Requirement:</b>
PocketC v3 compiler device.
PocketC v3 runtime

<b>Usage:</b>
In your program, just make sure have this line in your code.

<i>#pragma R3MENUOFF</i>

Now when you run your program, the program will not have the default menu.
You HAVE TO provide a customized menubar.
For example Guy's menubar library is a good one.
http://www.networkdynamics.net/PCForm.html