Click to See Complete Forum and Search --> : CCheckListBox!!!
vittal
June 28th, 1999, 03:01 AM
Hi All,
Is there any way to create "X" mark instead of the default tick mark (_/) mark that gets created with the CCheckListBox Control.
Thanks in Advance....
Vittal
Fabi Pantera
June 28th, 1999, 03:31 AM
Try overriden the DrawItem function. See in the MFC source for this (WINCTRL3.cpp).
let me know if it works, or if you need more help
Best regards,
Faby
Daniel B. Sigurgeirsson
June 28th, 1999, 05:43 AM
Actually it is the PreDrawItem function you must override. That function takes care of drawing the checkmark in front of the line of text.
Fabi Pantera
June 28th, 1999, 06:02 AM
Right. Sorry I didn't verify.
vittal
June 28th, 1999, 11:45 PM
Hi Fabi and Daniel,
Thanks for the help...
I will try implementing it.
-Vittal
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.