Mobile No title bar window L

zhaozj2021-02-16  78

Want to move the window window, not as troublesome like it is imagined ^ _ ^,

Write the following code in the mousedown event of the control with the mousedown event:

Releasecapture;

SendMessage (handle, wm_nclbuttondown, htcaption, 0);

Everything is OK, now you can press the mouse to drag ,,,,

The above is the implementation method in Delphi, the other languages ​​(because the API called).

转载请注明原文地址:https://www.9cbs.com/read-12750.html

New Post(0)