![]() |
Toolbar button selection menu is disabled |
Post Reply
|
| Author | |
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Topic: Toolbar button selection menu is disabledPosted: 28 October 2004 at 7:22am |
|
Hi, I added a toolbar at run time like this: ... CXTPToolBar* pBar1 = (CXTPToolBar*)pCommandBars->Add(_T("test"), xtpBarTop); I have two questions: 1. The toolbar buttons are disabled by default, until I add a ON_COMMAND_RANGE(ID_TOOLBAR_B1,ID_TOOLBAR_B6,OnFavorit e) . So I want to know what's the difference between the command in XTP_EXECUTE handler and COMMAND_RANGE handler. 2. After I added the ON_COMMAND_RANGE, the toolbar buttons are enable, but the toolbar's customize menu (used to add/remove a button) is still disabled, I can not add/remove any buttons through that menu. I am using XT 8.6. Edited by jeffcmj |
|
![]() |
|
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 |