In which language is written wFunc ?
Is in Oxgen or in FreeBasic?
I made some changes and work but i recive to much flickering with
WS_OVERLAPPEDWINDOW style?
Include "wFunc2.inc"
dim b1 as long
dim w1 as long
dim bstyle as long
dim winstyle as long
bstyle=0x50000001
winstyle=WS_OVERLAPPEDWINDOW or WS_CLIPCHILDREN
'open window
w1=OpenWindow("WinTest1",400,300,winstyle)
'create button
b1 = CreateWindowEx 0,"BUTTON","Button-1",bstyle,100,100,100,25,w1,0,0,0
UpdateWindow w1
While WinExit <> 1
UpdateWindow w1
DoEvents
Wend
WinEnd
[attachment deleted by admin]