jvcleave / ofxImGui

Use ImGui in openFrameworks
292 stars 123 forks source link

I make oF window borderless(not fullscreen),the screen display has an offset(mouse also) #99

Open LYHSH opened 4 years ago

LYHSH commented 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); }