c++builder 点击移动窗口

 if(Button == TMouseButton::mbLeft){
          ReleaseCapture();
          SendMessage(Fmx::Platform::Win::WindowHandleToPlatform(Form1->Handle)->Wnd,WM_SYSCOMMAND,SC_MOVE | HTCAPTION,0);
     }

 

 

 

#include <FMX.Platform.Win.hpp>

posted @ 2020-07-30 11:35  黑贝是条狗  阅读(259)  评论(0编辑  收藏  举报