Open LYHSH opened 4 years ago
The screen display has an offset When I have code: HWND hw = WindowFromDC(wglGetCurrentDC()); if (hw) { SetWindowLong(hw, GWL_STYLE, WS_POPUP | WS_VISIBLE); }
HWND hw = WindowFromDC(wglGetCurrentDC());
if (hw) { SetWindowLong(hw, GWL_STYLE, WS_POPUP | WS_VISIBLE); }
The screen display has an offset When I have code:
HWND hw = WindowFromDC(wglGetCurrentDC());
if (hw) { SetWindowLong(hw, GWL_STYLE, WS_POPUP | WS_VISIBLE); }