Josh Posted July 18 Posted July 18 Once any code file is opened in the script editor, the main window viewports can no longer resize correctly. This happens if the script editor window is parented to the main window, or if it is a top-level window. Nvidia GEForce 1080 TI, driver 32.0.15.7688. The issue seems to be caused by this line of code, which is used for the Scintilla widget control: SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR)SyntaxEditor::CustomWndProc); Quote Let's build cool stuff and have fun.
Josh Posted July 18 Author Posted July 18 I even tried creating the script editor window from a separate Win32 window class, but it made no difference. It looks like this effects all windows created by this process. My guess is it has to do with the Nvidia overlay. Quote Let's build cool stuff and have fun.
Josh Posted July 18 Author Posted July 18 Using SetWindowSubclass() instead does not solve the problem. Quote Let's build cool stuff and have fun.
Josh Posted July 18 Author Posted July 18 This even happens if I add WS_POPUP to the Scintilla window style and create it with a NULL parent, and set hInstance to NULL. Quote Let's build cool stuff and have fun.
Josh Posted July 18 Author Posted July 18 No issues when testing with an AMD 6600. Quote Let's build cool stuff and have fun.
Josh Posted July 18 Author Posted July 18 Reported to Nvidia here: https://developer.nvidia.com/bugs/5402322 Quote Let's build cool stuff and have fun.
Josh Posted July 28 Author Posted July 28 This actually has nothing to do with the window subclassing. Simply creating a Scintilla window in the program is enough to corrupt the 3D windows. Quote Let's build cool stuff and have fun.
Solution Josh Posted July 28 Author Solution Posted July 28 Issue is solved. It was my error. 2 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.