![]() |
get access to a menuitem? |
Post Reply ![]() |
Author | |
freeforvtk ![]() Newbie ![]() Joined: 01 April 2008 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 04 May 2008 at 6:29am |
Hi, all
I want to get access to a menuitem by its ID. Then I can do things like changing its text or setting its state to disabled or checked.
Please show me how to do it.
Thanks a million.
Peace
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, Use Update handlers to change state and set text. See our samples.
to find item use pCommandBars->FindControl method. but its wrong way.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
freeforvtk ![]() Newbie ![]() Joined: 01 April 2008 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Hi, oleg
Got it. Thank you.
|
|
![]() |
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 |