Re: high color imagelist in treeview
"Jim Barry" <[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <ABC1B232EB0849C1B45859E6E5E9FA1A@jbarry> |
"izm_ka" wrote:
> I could not find an example how to display high-color image icons in a
> treeview using WTL. Would you please help?
Do you mean 32-bit colour with alpha? You can create your image list using
the ILC_COLOR32 flag, then add 32-bit icons to it. Or you can create the
image list from a 32-bit bitmap using CImageList::CreateFromImage and the
LR_CREATEDIBSECTION flag. You need to be using the v6 common controls, of
course, so make sure your manifest has the appropriate dependency.
- Jim
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/wtl/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/