|
-
May 16th, 2003, 09:08 PM
#1
Thread Starter
Registered User
-
May 16th, 2003, 09:15 PM
#2
Sleep mode
-
May 17th, 2003, 07:41 AM
#3
Sleep mode
Did you create your own menu in a new solution ? if so , then you need to change OwnerDraw property to "True" as it's important step before your menuitems have the effects .
-
May 22nd, 2003, 12:26 AM
#4
Thread Starter
Registered User
It's working fine now! 
But I have a few question here whether can be solved or not? I'm trying to set the menu as similar to most Microsoft programs.
1) So far, We are using e.ItemHeight = 15 to set the size of the menu item. How can I set it to the default height and width of a menu item?
2) We are using New Font("Tahoma", 8) to set the font of the menu item. How can I set it to the default font of the menu item?
3) To display the shortcut text, how can I set it to the right indent of the menu item, like what we obverse in most Microsoft program.
4) We have to specify the coordinate to draw the icon of the menu item. How can I draw the icon to the default place of the menu item, like what we obverse in most Microsoft program.
Please guide, thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|