Hello everyone,
  I am having trobule with WinGetBounds. the code as follows:
.................
  WinHandle      screenH;
  RectangleType  srcR;
  RectangleType  windowBounds;

  screenH = WinGetDrawWindow();
  err = FtrGet( sysFtrCreator, sysFtrNumWinVersion, &winVersion );
  if(winVersion >= 4)
      {
       WinGetDrawWindowBounds(&windowBounds);
      }
  else
      {
       WinGetBounds(global_bitmapWinH, &windowBounds);
      }
  MemMove (&srcR, &windowBounds, sizeof(RectangleType));
  WinCopyRectangle(global_bitmapWinH, screenH, &srcR, drawToX, drawToY,
winPaint);

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.

any ideas for this problem?

Thanks in advance




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

Reply via email to