Drawing in a window
-
DrawTools sample shows how to create a Windows Forms application for drawing graphic objects in a Windows client area using mouse and drawing tools. Drawing tools implemented in this sample are: Rectangle, Ellipse, Line, and Pencil. There are wellknown techniques for creating such type of applications, like: interaction with mouse, flicker-free drawing, implementing of drawing and selection tools, objects selection, managing of objects Z-order etc. MFC developers may learn all this stuff from MFC sample DRAWCLI.
7p mr_nghia88 06-03-2010 141 36 Download
-
Figure 1.1, shown earlier in this chapter, shows a typical layout of the AutoCAD program window. Along the top is the menu bar, and just below that are the Workspaces and Standard Annotation toolbars. At the bottom are the Command window and the status bar. To the right is the Dashboard. The drawing area occupies the rest of the screen. AutoCAD calls the window layout a workspace; you can save and recall a workspace at any time using the Workspaces toolbar. The workspace in Figure 1.1 is called the 2D Drafting & Annotation workspace....
10p lyacau 28-12-2009 104 21 Download
-
AutoCAD 101 A hierarchy of title bars Like most Windows programs, AutoCAD has a title bar at the top of its program window that reminds you which program you’re in (not that you’d ever mistake the AutoCAD window for, say, Microsoft Word!). At the right side of the title bar is the standard set of three Windows control buttons: Minimize, Maximize/Restore, and Close. Each drawing window within the AutoCAD program window has its own title bar. You use the control buttons on a drawing window’s title bar to minimize, maximize/un-maximize, or close that drawing, not the entire AutoCAD program....
10p hungnhat 07-12-2009 163 33 Download