mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
[windows] Support drag
This commit is contained in:
@@ -70,6 +70,11 @@ class wv2ComHandler
|
||||
loadAssets(app);
|
||||
return S_OK;
|
||||
}
|
||||
else if (strcmp(m, "wails-drag") == 0) {
|
||||
ReleaseCapture();
|
||||
SendMessage(this->window, WM_NCLBUTTONDOWN, HTCAPTION, 0);
|
||||
return S_OK;
|
||||
}
|
||||
else {
|
||||
messageFromWindowCallback(m);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user