Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Bacsó Gergely
|
Aug 4, 2004 - 1:50 PM
|
Hello, How can I set the transparent color for a toolbar with 24-bit color image? And is there an easy way to put text under the toolbar images instead of beside them?
|
|
Technical Support
|
Aug 5, 2004 - 10:26 AM
|
You should call the following method of the command manager somewhere near the beginning of CMainFrame::OnCreate method:
VERIFY(
g_CmdManager->UpdateFromToolBar(
sProfileName, // command profile name
nResourceID, // toolbar resource ID
NULL,
NULL,
false,
true,
clrBmpTransparent // COLORREF value for transparent pixels
)
);
|
|