two simple questions |
Post Reply |
Author | |
feffe
Groupie Joined: 04 September 2009 Status: Offline Points: 56 |
Post Options
Thanks(0)
Posted: 09 September 2009 at 11:29am |
Thanks in advance for replies.
First question:
What's the difference between:
> m_pControl = pGroup->Add(xtpControlButton(), ID);
> m_pControl = pGroup->Add(new CXTPControlButton(), ID);
Second question:
> I have created a CXTPControlComboBox and I've associated it with ON_CBN_SELENDOK in the message map,
but nothing seems to happen.
why? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
1. No difference :) only without brackets: m_pControl = pGroup->Add(xtpControlButton, ID); recommend use this one.
2. See CustomThemes sample. It shows how catch notifications from combo.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |