Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Dynamic menu translation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dynamic menu translation

 Post Reply Post Reply
Author
Message
DylanDAS View Drop Down
Newbie
Newbie
Avatar

Joined: 21 October 2003
Location: France
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote DylanDAS Quote  Post ReplyReply Direct Link To This Post Topic: Dynamic menu translation
    Posted: 22 October 2003 at 3:45am

I find the fonction to change a menu when it has an ID, but when it's a popup (no ID) I don't know how to do it...

For the main, it works with GetControls()->GetAt(0); but to enter inside the submenu !!!

thanks for your help

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2003 at 11:45pm

Try this: ((CXTPControlPopup*)GetControls()->GetAt(0))->GetComma ndBar()->GetControls()

 

but be sure that the first item is popup control.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.078 seconds.