第一阶段只差兼容性问题了

This commit is contained in:
Mike Solar
2023-08-01 23:51:40 +08:00
parent 9b53ef9764
commit 6a695e8a03
20 changed files with 167 additions and 54 deletions

View File

@ -15,7 +15,7 @@ void QMiniBlink::init() {
ui.setupUi(this);
wkeInit();
RECT rect;
GetWindowRect((HWND)this->winId(), &rect);
GetWindowRect((HWND)parent->winId(), &rect);
resize(rect.right - rect.left, rect.bottom - rect.top);
this->wkeView = wkeCreateWebWindow(WKE_WINDOW_TYPE_CONTROL, (HWND)this->winId(), 0, 0, rect.right - rect.left, rect.bottom - rect.top);