drawing down arrow

B

Brian Henry

Using controlpaint i can draw an arrorw pointing to the right like this
ControlPaint.DrawMenuGlyph(e.Graphics, New Rectangle(0, 0,
e.Item.Bounds.Width, e.Item.Bounds.Height), MenuGlyph.Arrow)



but i need to draw that same arrorw pointing down for a dropdown menu type
situation... anyone know any quick easy ways to do this? thanks!
 
K

Ken Halter

Brian Henry said:
but i need to draw that same arrorw pointing down for a dropdown menu type
situation... anyone know any quick easy ways to do this? thanks!

fwiw, MS uses the Marlett font for combobox's and similar controls....

In VB6 (sorry... that's what I know <g>), this'll make a command button look
like the dropdown button on a combobox (except for the larger arrow). Use
the Character Map utility to find the characters (or their character codes)
'=========
Private Sub Form_Load()
With Command1
With .Font
.Name = "Marlett"
.Size = 12
.Bold = True
End With
.Caption = "u"
End With
End Sub
'=========
 
T

Toff McGowen

Why cant you just rotate the canvas 90 degrees using the code your already
using?

tm
 
H

Herfried K. Wagner [MVP]

Toff McGowen said:
Why cant you just rotate the canvas 90 degrees using the code your already
using?

ACK. You may want to try 'Graphics.RotateTransform'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top