![]() |
toolbar problem |
Post Reply
|
| Author | |
dmitklg
Newbie
Joined: 24 March 2006 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: toolbar problemPosted: 15 May 2006 at 7:17am |
|
i add toolbar to Cview derived class but it is disable always
i send message WM_IDLEUPDATECMDUI from WM_TIMER but it don't work please help void CPanelCtrlView::OnInitialUpdate() { VERIFY(m_wndToolBar.CreateToolBar(WS_VISIBLE|WS_CHILD| CBRS_TOOLTIPS, this)); VERIFY(m_wndToolBar.LoadToolBar(IDR_DRIVER_STATUS)); } |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 May 2006 at 8:38am |
|
Hi, For CView classes you don't need to send WM_IDLEUPDATECMDUI manually...
Do you have Update handlers? ON_COMMAND/ON_UPDATE_COMMAND_UI ? |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dmitklg
Newbie
Joined: 24 March 2006 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 May 2006 at 12:56am |
|
thanks
problem in ON_COMMAND/ON_UPDATE_COMMAND_UI |
|
![]() |
|
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 |