PC Review


Reply
Thread Tools Rate Thread

Contaxt Menu

 
 
BrianDH
Guest
Posts: n/a
 
      31st Aug 2004
Is it possible, need examples, to format the menus?
As in font size and color & background color.

Thanks

Brian
 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      31st Aug 2004
* "BrianDH" <(E-Mail Removed)> scripsit:
> Is it possible, need examples, to format the menus?
> As in font size and color & background color.


Make the menu items ownerdrawn:

<URL:http://www.codeproject.net/vb/net/vsnetstylemenusvb.asp>
<URL:http://www.codeproject.net/vb/net/iconsmenu.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
 
Reply With Quote
 
Jeff Johnson [MVP: VB]
Guest
Posts: n/a
 
      31st Aug 2004

"BrianDH" <(E-Mail Removed)> wrote in message
news:37dd01c48f6b$b174a1e0$(E-Mail Removed)...

> Is it possible, need examples, to format the menus?
> As in font size and color & background color.


Look at the OwnerDraw property of the MenuItem class in MSDN.

Standard disclaimer: fiddling with the display of menu items is a
non-standard thing and should only be done in certain circumstances.
Displaying a list of fonts, each one in its own font, is a good example of
when this is acceptable. Doing it just to make your menus look "cool" is a
good example of when you should think twice about it. (And on that second
thought, make sure you decide against it....)


 
Reply With Quote
 
Nathan
Guest
Posts: n/a
 
      1st Sep 2004
Any particular reasons why? Just curious.

Nathan


"Jeff Johnson [MVP: VB]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "BrianDH" <(E-Mail Removed)> wrote in message
> news:37dd01c48f6b$b174a1e0$(E-Mail Removed)...
>
>> Is it possible, need examples, to format the menus?
>> As in font size and color & background color.

>
> Look at the OwnerDraw property of the MenuItem class in MSDN.
>
> Standard disclaimer: fiddling with the display of menu items is a
> non-standard thing and should only be done in certain circumstances.
> Displaying a list of fonts, each one in its own font, is a good example of
> when this is acceptable. Doing it just to make your menus look "cool" is a
> good example of when you should think twice about it. (And on that second
> thought, make sure you decide against it....)
>
>



 
Reply With Quote
 
Jeff Johnson
Guest
Posts: n/a
 
      1st Sep 2004

"Nathan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

> Any particular reasons why? Just curious.


Depends on whether you're a professional programmer writing professional
programs or a home-user just screwing around for yourself. Professional
programs should adhere to Windows standards so that users feel comfortable
with them.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unwanted Menu Items in Start Menu and Explore Popup Menu Possum Windows XP General 2 25th Oct 2008 06:40 PM
tool menu missing on main menu bar in microsoft word office 2003 =?Utf-8?B?U3R1YXJ0?= Microsoft Word Document Management 2 1st Oct 2007 12:31 AM
Recent Documents in Start Menu Fails to Record New Docs (w/ Classic Menu) Akilesh Windows XP General 0 9th Feb 2007 03:58 PM
Adding new items in Contaxt Menu =?Utf-8?B?S2FubmFu?= Microsoft C# .NET 2 9th Oct 2006 09:40 AM
Adding a Menu Item to the "New" menu in File->Menu =?Utf-8?B?QW5vbnltb3Vz?= Microsoft Outlook Program Addins 0 29th Jun 2004 03:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:13 PM.