![]() |
|
Post Reply
|
| Author | |
hean17
Newbie
Joined: 07 October 2009 Location: Korea, South Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Plz~ help me (combo-control)Posted: 07 October 2009 at 2:49am |
|
I created combo-control on commandbar;
and inserted items to combo-control. but, I don't know how recevice event of combo-control. item-changed or item-clieked .... help me~~ ---------------------------------------------------------------------------------------------------------------------------------------------------------
CXTPToolBar* pNCControlToolbar = (CXTPToolBar*) pCommandBars-Add(_T("ncControlToolbar"), xtpBarTop);
pNCControlToolbar->SetBarID(IDR_TOOLBAR_NC02); CXTPControlComboBox* pControlCombo = (CXTPControlComboBox*)pNCControlToolbar->GetControls()->Add(xtpControlComboBox, ID_NCCOMBO01);
pControlCombo->SetWidth(130); pControlCombo->SetDropDownListStyle(); pControlCombo->AddString(_T("0")); ----------------------------------------------------------------------------------------------------------------------------------------------------------
Spy++ can't catch event anything to changing item.
Just i wanna know same thing CBN_SELCHANGE or CBN_EDITCHANGE(originally visual C++'s combo box event)
|
|
![]() |
|
markr
Senior Member
Joined: 01 August 2004 Status: Offline Points: 443 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 October 2009 at 1:15pm |
|
Search the command bar sample projects for use of ON_XTP_EXECUTE message map macro. It can be used to intercept selection change of combo box control in 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 |