![]() |
How to set the control ID to the Toolbar? |
Post Reply ![]() |
Author | |
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() Posted: 28 September 2007 at 6:01am |
Hi,
m_wndAgentToolBar->SetBarID(Id).
if you use LoadToolbar id will be set to IDR_TOOLBAR automatically.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Makarand ![]() Senior Member ![]() ![]() Joined: 27 February 2007 Location: India Status: Offline Points: 140 |
![]() ![]() ![]() ![]() ![]() |
BOOL CreateToolBar( DWORD dwStyle, dwStyle : Styles for the toolbars. pParentWnd : Specifies the parent window of the TaskPanel
control. nID :Specifies the Toolbar control ID. As per my current implementation I have created toolbar using command bar. m_wndtToolBar = (CXTPToolBar *) pCommandBars->Add(_T(g_cmcagent), xtpBarTop);How do I set the control ID to the Toolbar? |
|
![]() |
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 |