Print Page | Close Window

Dynamic menu translation

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=187
Printed Date: 29 April 2024 at 2:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dynamic menu translation
Posted By: DylanDAS
Subject: Dynamic menu translation
Date 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




Replies:
Posted By: Oleg
Date 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.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net