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 |
|
Burak Petekkaya
|
Apr 11, 2007 - 7:38 AM
|
Hi,
I init CExtThemeSwitcherToolControlBar where MainFrame class OnCreate method in.
When I run visual c++ 6.0 mfc application ,I clicked themeaˆ™s button over ThemeSwitcherToolBar.
I wan’t to catch selected themeaˆ™s button is clicked while I was debugging program. How can I do?
NOTE:
I Make a theme switcher toolbar class derived from CExtThemeSwitcherToolControlBar and override the following method in it: virtual void ThemeSwitcher_OnButtonInvoke( CExtThemeSwitcherToolButton * pTBB );
But I can’t find where I should call ThemeSwitcher_OnButtonInvoke function in my main frame or anywhere
|
|
Suhai Gyorgy
|
Apr 11, 2007 - 8:04 AM
|
I think you better go for Support’s solution, mine was only a guess. But just to answer your question: you don’t need to call ThemeSwitcher_OnButtonInvoke anywhere. It would be called from ProfUIS code when any of the buttons of that toolbar is clicked.
|
|
Burak Petekkaya
|
Apr 11, 2007 - 12:56 PM
|
Hi,
it is ok.it would be called from ProfUIS code.But, I want to send message to mainframe of my application at runtime(as soon as button clicked ).How can I do this?
|
|