hi all,
after experimenting with dll and functions i could not get my scrollbar to show or work heres the code i already have but can someone please post the correct code or fix mine.
set window on
set display mode 500,500,16
load dll "user32.dll",1
print "h"
print "e"
print "l"
print "l"
print "o"
print "h"
print "e"
print "l"
print "l"
print "o"
print "h"
print "e"
print "l"
print "l"
print "o"
print "h"
print "e"
print "l"
print "l"
print "o"
print "h"
print "e"
print "l"
print "l"
print "o"
print "h"
print "e"
print "l"
print "l"
print "o"
do
call dll 1,"EnableScrollBar",hWnd,wSBflags,SB_CTL,SB_VERT,wArrows,ESB_ENABLE_BOTH
call dll 1,"ShowScrollBar",hWnd,wBar,SB_BOTH,SB_VERT,bShow
call dll 1,"GetScrollBarInfo",hwnd,idObject,psbi
loop