If i open DbPro window (first time ) dbMouseMoveZ ( ) is Ok
if i close DbPro window and after Re_open dbMouseMoveZ ( ) is NOT Ok.
Can Help Me ?
; When i "Re_Open DbPro Window , is impossible intercect Mouse Well !!!
XIncludeFile "..\..\include\h.InitDarkGDK.pb"
XIncludeFile "..\..\include\darkgdk\core\h.DarkGDK.pb"
If Not InitDarkGDK("gdkengine.dll","..\..\..\..\")
End
EndIf
Procedure OpenDbProWind()
ww=dbOpenScreen(WindowID(0),20,20,800,600)
dbSetDisplayMode ( 800, 600,32,0,0)
dbColorBackdrop ( $103D47 ,0)
dbBackdropOn ( 0 )
EndProcedure
OpenWindow(0,0,0,1024,768,"Prova",#PB_Window_MinimizeGadget)
SetWindowColor(0, RGB(47, 79, 79))
OpenDbProWind()
Repeat
Event_Main =WindowEvent()
WindowsNumbers=EventWindow()
If Event_Main=#PB_Event_CloseWindow: dbCloseScreen()
penDbProWind():EndIf
z= dbMouseMoveZ ( )
If z<>0
MessageRequester("","Move")
EndIf
z=0
dbSync()
Until dbEscapeKey ( )