![]() |
Splitter popup button |
Post Reply ![]() |
Author | |
thodgson ![]() Groupie ![]() Joined: 11 August 2003 Status: Offline Points: 78 |
![]() ![]() ![]() ![]() ![]() Posted: 09 August 2004 at 2:54pm |
In the online KB article: HOW TO: Add a splitter popup button that doesn't disappear (http://www.codejock.com/support/KB_PRO/000003.asp), it states: “If you use Customizable toolbars you must avoid dynamic creation of controls. You must use the ‘Xtreme Control Subclassing’ technique” I use command bars, and am unable to get a splitter popup button to work. Is it possible to even do this? If so, can someone point me to one of the samples? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
See CustomeThemes s example.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
thodgson ![]() Groupie ![]() Joined: 11 August 2003 Status: Offline Points: 78 |
![]() ![]() ![]() ![]() ![]() |
Thanks. Looking at the example it is unclear how the menu and toolbar for the Hex button are created or hooked-up dynamically. How is this done? In the OnCreateControl method, the Hex button is set to be a popup, but there is no clear evidence how the menu and tool bar are attached to this button control. Seems like black magic! Edited by thodgson |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
from FAQ you mentioned: Using the resource editor, create a Popup menu with same command id as the toolbar button you just added.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
thodgson ![]() Groupie ![]() Joined: 11 August 2003 Status: Offline Points: 78 |
![]() ![]() ![]() ![]() ![]() |
Ah, yes. That's the part I missed. Thank you for pointing that out. Tim |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |