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:
01220652
Views:
22
I'm not sure I understand how a button bouncing around the form is relevant.






>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
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform