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 My job is to make tools you love, with the features you want, and performance you can't live without.
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 My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted July 18 Author Posted July 18 Using SetWindowSubclass() instead does not solve the problem. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
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 My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted July 18 Author Posted July 18 No issues when testing with an AMD 6600. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted July 18 Author Posted July 18 Reported to Nvidia here: https://developer.nvidia.com/bugs/5402322 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted Monday at 05:49 PM Author Posted Monday at 05:49 PM 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 My job is to make tools you love, with the features you want, and performance you can't live without.
Solution Josh Posted Monday at 06:57 PM Author Solution Posted Monday at 06:57 PM Issue is solved. It was my error. 2 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
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.