Owner draw Uxtheme checkbox drawing issue in DXGL 0.5.14 config application

WindowBlinds 10.65 appears to have an issue drawing the checkboxes owner-draw listboxes and owner-draw combo boxes in the DXGL config application.  By opening one of the combo boxes and moving the mouse over the entries, it causes the checkboxes to start working again.

Operating system is Windows 10, v1703 x64, running under VMware Workstation Pro, but the same issue happens on my Windows 10 Insider Preview x64 host with an NVIDIA graphics card.

The DXGL binary in this case is at https://www.dxgl.info/download/DXGL-0.5.14-win32.exe

Source code is at https://www.dxgl.info/download/dxgl-src-0.5.14.zip or the SVN repository at https://dxgl.info/svn/dxgl/

11,469 views 6 replies
Reply #1 Top

Hello,

I have forwarded your problem to Stardock Support team for their assistance. Please keep an eye on this thread for any updates. We appreciate your feedback and patience.

Basj

Stardock Community Assistant.

Reply #2 Top

You might notice the dialog for DXGL Config has a regular window border instead of a dialog border on certain WindowBlinds skins.  While this is not part of the bug report, I have found it was due to using an incorrect window style for the dialog (I was missing the DS_MODALFRAME style bit in the resource file for the main dialog box).

However, fixing this small issue made no difference in the issue I have shown in this video.

If there are any code changes to my project you suggest I try to make it play nicer with WindowBlinds 10, please let me know.

P.S.  I tested with WindowBlinds 8 under Windows 7, and the checkboxes in the owner-draw list controls display just fine.

Reply #3 Top

Ok, Noted. Also please note that Stardock is on Summer Vacation and will be back next week, Monday July 9th.

Thank you,

Basj,

Stardock Community Assistant

Reply #4 Top

I have had a look and there is an error in your code.

In your WM_THEMECHANGED handler you do this :

if (hThemeDisplay) _CloseThemeData(hThemeDisplay);

_OpenThemeData(hWnd, L"Button");

But that frees the theme handle but never reassigns the value from the new OpenThemeData call to hThemeDisplay.

WindowBlinds will not render if a theme handle has been freed.

The WM_THEMECHANGED handler is also missing a break.

Reply #5 Top

Thanks for the heads-up, I will fix this up.

Reply #6 Top

Just tested, WindowBlinds appears to be working fully now.  Thanks for the heads-up!

 

Since the issue is now resolved, you may close this thread.