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 >
Wrap
Text File
|
1996-10-24
|
651b
|
18 lines
DIM sI As SYSTEMINFO
DIM rc As RECT
WinInfoSystem(sI)
RectSet(rc, sI.si_wXScreen/2, sI.si_wYScreen/2,\
sI.si_wXScreen/2, sI.si_wYScreen/2)
w% = sI.si_wXScreen/3
h% = sI.si_wYScreen/4
offset% = sI.si_wYScreen/12
SBV_BGRCOLOR = RGB&(0,128,0)
PopupMetafile( offset%, offset%, w%, h%, "hellow.wmf",\
SBC_FILLBGR or SBC_MODELESS, rc)
SBV_BGRCOLOR = RGB&(0,0,128)
PopupMetafile( -offset%, -offset%, w%, h%,\
"hellow.wmf", SBC_FILLBGR or SBC_MODELESS, rc)
PopupMetafile( 0, 0, sI.si_wXScreen, sI.si_wYScreen,\
"hellow.wmf", SBC_MODELESS)
WaitInput(SBC_KEYBOARDINPUT or SBC_MOUSEINPUT)