![]() |
How to retrieve ControlItem |
Post Reply ![]() |
Author | |
mattf ![]() Newbie ![]() Joined: 28 June 2006 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 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 |
![]() ![]() ![]() ![]() ![]() |
Nobody to answer me?
what a shame!!! ![]() PPllleeeeaaaasssssssseeeeeeeeeee.... help me! ![]() |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |