NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ControlPaint.DrawMenuGlyph (Graphics, Int32, Int32, Int32, Int32, MenuGlyph)

Draws a menu glyph for a Win32 menu in the given rectangle with the given state.

[Visual Basic]
Overloads Public Shared Sub DrawMenuGlyph( _
   ByVal graphics As Graphics, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal glyph As MenuGlyph _
)
[C#]
public static void DrawMenuGlyph(
   Graphics graphics,
   int x,
   int y,
   int width,
   int height,
   MenuGlyph glyph
);
[C++]
public: static void DrawMenuGlyph(
   Graphics* graphics,
   int x,
   int y,
   int width,
   int height,
   MenuGlyph glyph
);
[JScript]
public static function DrawMenuGlyph(
   graphics : Graphics,
   x : int,
   y : int,
   width : int,
   height : int,
   glyph : MenuGlyph
);

Parameters

graphics
The graphics object to draw to.
x
X coordinate of the upper left corner of the glyph.
y
Y coordinate of the upper left corner of the glyph.
width
Width of the glyph.
height
Height of the glyph.
glyph
A MenuGlyph constant to determine what menu glyph to draw.

See Also

ControlPaint Class | ControlPaint Members | System.WinForms Namespace | ControlPaint.DrawMenuGlyph Overload List | MenuGlyph