![]() |
get access to a menuitem? |
Post Reply
|
| Author | |
freeforvtk
Newbie
Joined: 01 April 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: get access to a menuitem?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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 May 2008 at 2:22am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 May 2008 at 1:06am |
|
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 |