Ocrana
asked on
Paint a grey rectangle with border on dialog
Hi,
anyone here who can give me a short sample of how to paint a rectangle, filled with grey, and a 1 pixel black border on a dialog with GDI+? I use VS 2005 and try it on a dialogbased app.
Thanks,
Ocrana
anyone here who can give me a short sample of how to paint a rectangle, filled with grey, and a 1 pixel black border on a dialog with GDI+? I use VS 2005 and try it on a dialogbased app.
Thanks,
Ocrana
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the simplest way to paint a rectangle in a dialog is to put an empty static (aka "label") at design time.