![]() |
Is Possible? GetControl( resource ID ) |
Post Reply ![]() |
Author | |
copycd ![]() Newbie ![]() Joined: 20 December 2006 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 21 December 2006 at 4:03am |
I hope get CXTPControlButton;
Current code is bellow;
CXTPToolBar* pStandardBar = somecode...
((CXTPControlButton*)pStandardBar->GetControl(1))->SetStyle()...;
by the way
not index,
I want to use resource ID;
((CXTPControlButton*)pStandardBar->GetControl(IDM_MYITEM))->
is impossible?
should i Enable/Diable button;
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
pStandardBar->GetControls()->FindControl(IDM_MYITEM)->SetStyle()...
|
|
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 |