here is some sample code to show you how to use windows api from dbpro with out any aditional plugin.
set window size 60,80
`windows api hello world useing just regular dbpro comands
`load up the dll's that are needed
load dll "user32.dll",4
load dll "gdi32.dll",5
`Get the screen dc (device context, gra
` hical ID), its HWND (window handle) is o
` f course zero
dc = call dll(4,"GetDC",0)
`the strings we will put out to the screen
h$ ="Hello World"
n$ ="press esc to end or press the x in the box in left corner"
call dll 5,"SetBkMode",dc,1
do
`now to output our text we defined abouve
call dll 5,"SetTextColor",dc, RGB(0,0,255)
call dll 5,"TextOutA",dc,500,650,h$,len(h$)
call dll 5,"SetTextColor",dc, RGB(255,0,0)
call dll 5,"TextOutA",dc,600,600,n$,len(n$)
loop
this can be good for noobs to learn from i will have more advanced api tutorials later. If you got any sugestions on api tutorials that you would like to see let me know i'll do what i can to get them up.
new learning center comming soon http://911.bounceme.net/