> in the frmOpenEvent handling for Main2 I call
> FrmDrawForm(FrmGetCurrentForm()) then
> return a true from the event handler.. that's the only thing I call in
> frmOpenEvent

  try:

  case frmOpenEvent:
       FrmDrawForm(FrmGetActiveForm());

       // more code here to draw on the screen

       processed = true;
       break;

  if you are not doing anything in the frmOpenEvent, then dont override
  it.. the OS will handle everything correctly - unless you need to
  explicitly trap the event and do some stuff yourself.

  i notice the screen flashes every now and then to the previous form
  in my applications on os 3.5 - but i assume it has something to do 
  with the implementation of WinScreenLock and WinScreenUnlock :P 

  one day (i hope soon).. os 3.5 sources will be made available to us 
  developers :P (david - listening?) :P

  cheers.

az
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to