drawing down arrow

  • Thread starter Thread starter Brian Henry
  • Start date Start date
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!
 
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
'=========
 
Why cant you just rotate the canvas 90 degrees using the code your already
using?

tm
 
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'.
 
Back
Top