![]() |
ADD function |
Post Reply ![]() |
Author | |
mosenkum ![]() Groupie ![]() Joined: 09 July 2008 Location: India Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() Posted: 10 July 2008 at 9:31am |
CXTPControl* pControl = m_pControls->Add(xtpControlButton, FIRST_UNDO_COMMAND + 1, _T(""), m_nIndex + 1 , FALSE);
I am using this function to add item . when item get selected its repeat again. How to use this function. or any other function available.
example:
senthil -> get selected in submenu
output:
senthil
senthil
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Just check that you didn't add control before...
if (m_pControls->FindControl(FIRST_UNDO_COMMAND + 1) == NULL)
...
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
mosenkum ![]() Groupie ![]() Joined: 09 July 2008 Location: India Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
how to use getsubmenu function in xttoolkit. In mfc class it's working fine.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Just m_pControls->GetControl(i)->GetCommandBar();
|
|
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 |