|
-
April 27th, 1999, 08:26 PM
#1
Refresh Toolbar
Hi,
I would like to know how I can refresh my toolbar when I change my resource using a resource DLL. I'm using a hot/cold toolbar style with text below the icons. The text is supposed to be changed when I change to another resource.
Thanks!!
Steve
-
April 27th, 1999, 10:01 PM
#2
Re: Refresh Toolbar
Create the toolbar using CToolBar, and then call CToolBar::GetToolBarCtrl to get access to the CToolBarCtrl member functions.
Create the toolbar using CToolBarCtrl's constructor.
To use bitmap images for buttons, add the button bitmaps to the toolbar by calling AddBitmap.
To use images displayed from an image list for buttons, specify the image list by calling SetImageList, SetHotImageList, or SetDisabledImageList.
To use string labels for buttons, add the strings to the toolbar by calling AddString and/or AddStrings.
leolin
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
|