Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - menu issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

menu issue

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

Joined: 07 December 2006
Location: Taiwan
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote grade Quote  Post ReplyReply Direct Link To This Post Topic: menu issue
    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
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: 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.