This code example shows you how to detect form movement (if your form has been dragged by the title bar for example) without using subclassing.
Note: Do not use this code if you already use the LockwindowApi as you can only lock one Hwnd at once.
Printable View
This code example shows you how to detect form movement (if your form has been dragged by the title bar for example) without using subclassing.
Note: Do not use this code if you already use the LockwindowApi as you can only lock one Hwnd at once.
it also responce to scaling..
left and top..
not the right an bottom.
Obviously enough - that's where the form position is measured, so it shoud respond to scaling.Quote:
it also responce to scaling..
bekkel, vbNeo
That a good point, heres a new version that does not respond to scaling.
How do you import the files into your application?
update: found it