17 Aug
2003
17 Aug
'03
4:40 a.m.
"Maxime Bellengé" <maxime.bellenge(a)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.