Page 1 of 1

PostPosted: Wed Jan 15, 2003 8:12 pm
by slartibardfast
Hi,
I've been attempting to get a time on the title bar like in the standart palm os launcher, I also use resouce menus. Unfortunatly the code below produces very poor results- Overwriting the first menu item etc. But it does display the time:oops:

while(1) {
e=Fevent(2);
title(time(1));
switch(e) {
rest of program

Any suggestions?
Thanks in advance

-David Connolly
davidc@alphasols.com

PostPosted: Wed Jan 15, 2003 8:21 pm
by jstadolnik
title() does not work on PToolbox forms, only PocketC's graphics form.

I would suggest just writing text over the menu bar with text(). If you set the foreground and background (and text) colors correctly this should work well.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm

PostPosted: Wed Jan 15, 2003 8:35 pm
by slartibardfast
Excellent thanks very much!

-David Connolly
davidc@alphasols.com