I use SHGetFileInfo() to get an icon handle. (i.e. sfi.hIcon) from a file.
I want to change the image of a button in Toolbar with the Icon I extracted
from the file. Does anyone have the idea how to do this ?
Effectively I do not want to use the bitmap resources,
If u answere any of the follwing question will be really great to me
1. How to convert an icon handle to an bitmap ?
2. how to use the Addbitmap method in CToolBarCtrl ?
3. how to change an image of an button in Toolbar ?
I appreciate ur response.