Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to create a rectangle by inputing parameters from a Dialog box

Status
Not open for further replies.

XcamaroX

Programmer
Jul 20, 2004
3
US
This is a SDI with a Dialog box that pops up when you right click on the document and asks you to draw either a rectangle, ellipse, or a line from this dialog.

The dialog has input parameters such as thickness of the pen, its color, and the fill style (solid, hatching horizonatl, vertical, etc...) and the fill color as well.

Once the user has selected all of these options is when you draw the shape, either of those.

I do not know where or what are the CShapes that I need to implement or where to do them (draw method from DocumentView maybe?) I just dont know and Im looking for some guidance. Anything will be greatly appreciated.

TIA!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top