Move a window without a titlebarTag(s): WinAPI/Registry


In a window
[Instance declaration]
CONSTANT uint WM_NCLBUTTONDOWN = 161
CONSTANT uint HTCAPTION = 2

[mousedown event]
Post( Handle( this ), WM_NCLBUTTONDOWN, HTCAPTION, Long( xpos, ypos ) )

blog comments powered by Disqus