![]() |
Plz~ help me (combo-control) |
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 3:27am |
|
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) |
|
![]() |
|
racuca
Newbie
Joined: 16 July 2009 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 December 2009 at 3:22am |
|
ON_NOTIFY(CBN_EDITCHANGE, ID, Func) Message may be ok.
|
|
![]() |
|
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 |