|
-
April 8th, 1999, 11:41 PM
#1
help! nagging CListCtrl details...
Trying to take control of CListCtrl in VC++ 5.0...
1) Can a list ctrl be of OWNER_DRAW style only if it's in REPORT view style. My DrawItem() fn works fine when the list ctrl's REPORT style is set, but for all other styles (ICON, SMALLICON, LIST) the ctrl seems to revert to the standard (built in) item display method. Any insight?
2) Also trying to implement an IMAGECALLBACK/TEXTCALLBACK fn for each item (icon and text). The online docs describe how to set the flag (to let the item know to look for a callback fn to get it's icon/text) but I can't find anywhere to set a ptr to the actual callback function. Thought it might be a resident method, such as CListCtrl::ItemTextCallback(), but I can't find anything like this. How 'bout insight for this?
Thanks bunches to the gurus for any help,
Niall
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|