Print Page | Close Window

menu issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7413
Printed Date: 13 November 2025 at 1:51am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: menu issue
Posted By: grade
Subject: menu issue
Date Posted: 20 June 2007 at 4:43am
Hello Sir,
 
I try to implement a drop-down menu button, which can list a tree like list in the menu. (e.g. My Favorites list in IE)
I am using Menu class to implement such function now.
However, I got problem to control the width of drop-down menu.
It seems to me that I have to implement "void MeasureItem()" and "void DrawItem()" virtual  functions of CMenu in order to control menu width.
 
Is there any menu class provided by Codejock that can help me to control the width of drop-down menu?
Or any implemented "MeasureItem()" and "DrawItem()" functions that I can use?
 
any idea?
 
Thanks a lot


-------------
Grade Wang
Software Engineer



Replies:
Posted By: Oleg
Date Posted: 20 June 2007 at 5:27am
Hi,
Think you can use our CommandBars and attach real CTreeCtrl to menu.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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