By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,676 Members | 1,343 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,676 IT Pros & Developers. It's quick & easy.

systemicons

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"todd" <to********@hotmail.com> wrote in message
news:0f****************************@phx.gbl...
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

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.