home *** CD-ROM | disk | FTP | other *** search
/ C/C++ User's Journal & Wi…eveloper's Journal Tools / C-C__Users_Journal_and_Windows_Developers_Journal_Tools_1997.iso / sbdemo / p12.sb < prev    next >
Text File  |  1996-10-24  |  651b  |  18 lines

  1. DIM sI As SYSTEMINFO
  2. DIM rc As RECT
  3. WinInfoSystem(sI)
  4. RectSet(rc, sI.si_wXScreen/2, sI.si_wYScreen/2,\
  5.             sI.si_wXScreen/2, sI.si_wYScreen/2)
  6. w% = sI.si_wXScreen/3
  7. h% = sI.si_wYScreen/4
  8. offset% = sI.si_wYScreen/12
  9. SBV_BGRCOLOR = RGB&(0,128,0)
  10. PopupMetafile( offset%, offset%, w%, h%, "hellow.wmf",\
  11.                SBC_FILLBGR or SBC_MODELESS, rc)
  12. SBV_BGRCOLOR = RGB&(0,0,128)
  13. PopupMetafile( -offset%, -offset%, w%, h%,\
  14.                "hellow.wmf", SBC_FILLBGR or SBC_MODELESS, rc)
  15. PopupMetafile( 0, 0, sI.si_wXScreen, sI.si_wYScreen,\
  16.               "hellow.wmf", SBC_MODELESS)
  17. WaitInput(SBC_KEYBOARDINPUT or SBC_MOUSEINPUT)
  18.