![]() |
How to retrieve ControlItem |
Post Reply
|
| Author | |
mattf
Newbie
Joined: 28 June 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Topic: How to retrieve ControlItemPosted: 22 August 2006 at 10:37am |
|
Hi,
I add a combo box by using pTaskPanelGroup->AddControlItem(myCombo). But, how to retrieve it during notification (XTPWM_TASKPANEL_NOTIFY)? thanks & regards, Matt |
|
![]() |
|
mattf
Newbie
Joined: 28 June 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 August 2006 at 3:47am |
|
Nobody to answer me?
what a shame!!! ![]() PPllleeeeaaaasssssssseeeeeeeeeee.... help me! ![]() |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 August 2006 at 8:59am |
|
Hi,
ComboBox sends its messages to parent class
Override CXTPTaskPanel and catch messages in derived class.
See in MSDN ON_CBN_SELCHANGE macros.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
mattf
Newbie
Joined: 28 June 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 August 2006 at 10:27am |
|
Ok to receive events.... but if I want to modify combo data?
CXTPTaskPanelGroupItem contents m_hWnd, reference on window control, but I can't get it after adding. Do you think "you" can add a GetControlHwnd() in the next release? very useful to update data! thanks & regards, Matt |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 August 2006 at 10:53am |
|
Hi,
Just save myCombo in members of parent dialog.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
mattf
Newbie
Joined: 28 June 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 August 2006 at 12:00pm |
|
I'm little disappointed by this kind of matter.
You provide SetItemData/GetItemData, but no way to get added control! Well, fortunately for me, SetItemData/GetItemData are there! thanks & regards, Matt |
|
![]() |
|
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 |