"Maxime Bellengé" maxime.bellenge@laposte.net wrote:
Changelog:
- Fix the creation of treeview with checkboxes. Now they display fine.
The only real change in this patch is the following snippet. Could you retest and send only that chunk alone?
@@ -4848,12 +4850,14 @@ DrawFrameControl(hdc, &rc, DFC_BUTTON, DFCS_BUTTONCHECK|DFCS_FLAT|DFCS_CHECKED);
+ SelectObject(hdc, hbmOld); nIndex = ImageList_AddMasked(infoPtr->himlState, hbm, GetSysColor(COLOR_WINDOW)); TRACE("chckbox index %d\n", nIndex); - SelectObject(hdc, hbmOld);
-- Dmitry.