J
JahMic
I'm trying to setup a toolbar drop down button, something similar to
the 'new' button. Everything is in place, except that I can't set an
icon for it. There must be a way, after all the new button has an
icon.
After calling 'add' to add it to the main toolbar, the Returned
control (CommandBarControl) doesn't have any direct methods for
PutFace or PutPicture. For normal buttons, I can just cast this to a
button control and use those methods, but for a Popup, this causes
many ugly things to happen, such as exceptions being thrown and such.
What is preferred way to do set an icon for such a control?
Thanks
the 'new' button. Everything is in place, except that I can't set an
icon for it. There must be a way, after all the new button has an
icon.
After calling 'add' to add it to the main toolbar, the Returned
control (CommandBarControl) doesn't have any direct methods for
PutFace or PutPicture. For normal buttons, I can just cast this to a
button control and use those methods, but for a Popup, this causes
many ugly things to happen, such as exceptions being thrown and such.
What is preferred way to do set an icon for such a control?
Thanks