Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving _Screen In MouseMove
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01220530
Message ID:
01220592
Views:
19
Look at this http://blogs.msdn.com/acoat/archive/2007/04/01/wpf-pah.aspx Pretty cool <g>

>I have a simulated Titlebar class attached to _Screen.
>I have the follwing methods:
>
>
>
>* Mouse Down
>IF nButton = 1
>
>	IF _Screen.WindowState = 0
>		
>		_Screen.LockScreen = .T.
>	
>	ENDIF
>
>ENDIF
>
>* Mouse Move
>IF nButton = 1
>
>	IF _Screen.WindowState = 0
>		
>		_Screen.Move(nXCoord, nYCoord)
>	
>	ENDIF
>
>ENDIF
>
>* Mouse Up
>IF nButton = 1
>
>	IF _Screen.WindowState = 0
>		
>		_Screen.LockScreen = .F.
>	
>	ENDIF
>
>ENDIF
>
>
>
>The screen moves, but it is really ugly. Anyone know the right way to do this?
>
>Thanks
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform