systemicons

  • Thread starter Thread starter todd
  • Start date Start date
T

todd

I'm trying to make my own messagebox (for custom error
dialogs, etc), but having a little trouble with the icons.
I use the systemicons, but they're not anti-aliased and
look horrible. How can I make the pic quality like that of
the regular messagebox?

thanks,
todd
 
Don't use SystemIcons.ToBitmap.
Instead use DrawIcon on the Graphics Object.

Private Sub MyMessageBoxForm_Paint(...)...
e.Graphics.DrawIcon(SystemIcons.Information, 16, 24)
End Sub
 
Back
Top