Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - menu_off(); function

menu_off(); function

Discuss PocketC for CE (including Desktop Edition)

Postby bstill on Wed Dec 27, 2000 4:54 pm

This function does not appear to be working on my PocketPC. It works on my PPC.

Is this a known issue? or is there another way to do this on a PocketPC?
bstill
 
Posts: 10
Joined: Tue Dec 19, 2000 3:01 pm

Postby ianf on Thu Dec 28, 2000 10:00 am

Hi Brian, the menu_off() function is working on my iPaq using PocketC Version 2 compiler & V 3 runtime.
Which PocketPC & which compiler version are you using, ie: desktop edition, device edition etc?
ianf
 
Posts: 92
Joined: Mon Dec 11, 2000 7:25 am
Location: United Kingdom

Postby bstill on Thu Dec 28, 2000 4:26 pm

I am using v2 of the device compiler, and v3 of the runtime on my HP Jornada 540.
bstill
 
Posts: 10
Joined: Tue Dec 19, 2000 3:01 pm

Postby cosmodriver on Mon Jan 01, 2001 8:27 pm

<img src=icon_smile.gif border=0 align=middle>if you are using the runtime that came with the desktop compiler for the hpjornada it will not hide or let you change the menu items try downloading the newest version of the runtime and see if that works that's what I had to do.

cosmo
cosmo
cosmodriver
 
Posts: 4
Joined: Mon Jan 01, 2001 8:27 pm
Location: USA

Postby Justinespinosa on Tue Jan 02, 2001 10:43 am

<img src=icon_smile_wink.gif border=0 align=middle> The Main Window has the gui id 1, if you delete it with delgui(1), the MenuBar will be killed, but the Main Window will stay "alive", but be carfull <img src=icon_smile_evil.gif border=0 align=middle> with delgui(), i have wrote a program that uses this command a lot of times, it kills every tasks, every icons on the system tray and crashs the system ?!?<img src=icon_smile_dead.gif border=0 align=middle>

J.Espinosa

OUTS Softwares
J.Espinosa

OUTS Softwares
Justinespinosa
 
Posts: 156
Joined: Wed Dec 06, 2000 2:30 pm
Location: Switzerland

Postby bstill on Fri Jan 12, 2001 11:40 am

I tried the delgui(1);, and it has the same effect asmenu_off(); it locks up my app.

I even redownloaded the 3.0 runtime for PocketPC and installed it in the event that when I did this last time it didn't install correctly.

I am using an HP Jornada 540 if that makes any difference.
bstill
 
Posts: 10
Joined: Tue Dec 19, 2000 3:01 pm

Postby darwin on Fri Jan 12, 2001 5:45 pm

delgui deletes the Menubar?
Shouldn't it be possible in that case to create a menubar with createctrl()?

http://www.strange-phenomenom.de/newp/pocketc.htm
darwin
 
Posts: 71
Joined: Tue Dec 05, 2000 12:04 pm
Location: Germany

Postby Justinespinosa on Sat Jan 13, 2001 1:49 pm

I don't know i you can create a menubar with createctrl. I know that you can create a command bar with the "ToolbarWindow32" as strCtrl parameter. But it seams you can't use it with pocketC, just create it.


J.Espinosa

OUTS Softwares
J.Espinosa

OUTS Softwares
Justinespinosa
 
Posts: 156
Joined: Wed Dec 06, 2000 2:30 pm
Location: Switzerland

Postby Admin on Sun Jan 14, 2001 7:02 am

I am still regreting for making those delallgui APIs.
It appears to be useful for lazy people who don't want to maintain the list of windhow
handles. However, misuse the function could bring deadly result to your application.

1. menuoff is not working is most likly because your program doesnot have an event loop.
try to have an event loop, and try menu off.
Admin
 
Posts: 86
Joined: Fri Oct 06, 2000 6:00 am
Location: USA


Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 1 guest

cron