Another Apilist (windows functions) found elsewhere on these forums check it out:
http://www.partware.com/ebooks/api/ref/funcc.html
And an sample code to make an dialog popup
`dialogs in your program
`by JPcreator
sync on:sync rate 60
set window on
load dll "user32.dll",1
hwnd = call dll(1,"GetActiveWindow")
hmenu=call dll(1,"CreatePopupMenu")
disable escapekey
set text size 30
disable escapekey
do
cls
`if the "1" is pressed a dialog will popup
if scancode()=2
dialogchoose=call dll(1,"MessageBoxA",hwnd,"Are you sure you want ot quit?","Exit",1)
`last "1" is for the "OK and cancel" button
`an 2,3,4,5,6,7,8 and 10 will make other burrons
`just try out!
endif
if dialogchoose=1 then exit
`if the first button is choosen the program will exit
text 0,0,str$(tres)
`this will print the button that's picked on the screen
`if an button is choosen
sync
loop
Only the best survive!