Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Possible Bug: dbMouseMoveZ ( )

Author
Message
Guido Italy
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 7th Aug 2012 12:38
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 ( )
Guido Italy
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 8th Aug 2012 12:21
answers?
haliop
User Banned
Posted: 8th Aug 2012 17:15 Edited at: 8th Aug 2012 17:15
edit:...



[href] http://forum.thegamecreators.com/?m=forum_view&t=198467&b=22[/href]

Login to post a reply

Server time is: 2024-04-19 01:44:24
Your offset time is: 2024-04-19 01:44:24