kkscat1 wrote:
  screenH = WinGetDrawWindow();
  err = FtrGet( sysFtrCreator, sysFtrNumWinVersion, &winVersion );
  if(winVersion >= 4)
      {
       WinGetDrawWindowBounds(&windowBounds);
      }
  else
      {
       WinGetBounds(global_bitmapWinH, &windowBounds);
      }

there is no problem In Palm Emulator(OS 4.0 or later). But Palm Emulator(OS
3.5 or prior to OS 4.0) reports error:

error occur:"A(1.0) called Palm OS routine #0xA456(WinGetBounds).This
routine does not exist in this version of the Palm

OS.". Do somebody knows how to use function of WinGetBounds in Palm OS prior
to 4.0.

from Palm OS 5 docs: "Prior to Palm OS 4.0, WinGetBounds returned the bounds of the draw window, and did not take a window handle as an argument."

If I'm understanding correctly, because the arguments are different, you can't call this function unless you are using the header file from before OS 4.0. Can that be correct?

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to