469,282 Members | 1,662 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Passing the standard icons to user defined ImageList

Hello people!

I have a quite complicated question.

While creating a ToolBar in code, it is possible to pass the standard icons located in COMMCTRL to the image list of the ToolBar. I'm talking about the icons that most of programs use, like:
STD_COPY, STD_CUT, STD_DELETE, STD_FILENEW, STD_FILEOPEN and so on.
This is very useful because you don't need to load these icons as resources anymore, because they exist already in system.

My problem is - how can I pass these icons to my own image list? As far as I know, they work only with ToolBars (see struct TBADDBITMAP). I want to have them in my own list in order to pass icons to other controls too, like menus for example.

Can anyone help me with this?

Thank you,

Dragos
Nov 17 '05 #1
0 1585

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Dave | last post: by
2 posts views Thread by pnp | last post: by
1 post views Thread by pnp | last post: by
1 post views Thread by Víctor | last post: by
1 post views Thread by O.A.Haugum | last post: by
reply views Thread by Ryan Liu | last post: by
3 posts views Thread by Jeff Jarrell | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.