Polyline (Chapter 24)

Click to open or copy the Polyline sample.

In order to build any of the Samples for Inside OLE, 2nd Edition, you need to copy the required files.  You only need to copy these files once.

See the online version of Inside OLE in the MSDN Library for a description of this sample.

Building SDK Samples

This sample uses the following keywords:

ambientget; addconnection; addref; advise; alloc; ambientget; ambientsinitialize; beginpaint; cadviserouter; calcpolyrectindialog; caninplaceactivate; cconnectionpoint; cenumformatetc; chatchwin; checkradiobutton; childset; choosecolor; cimpiconnptcont; cimpidataobject; cimpidispatch; cimpiexternalconnection; cimpiolecontrol; cimpioleinplaceactiveobject; cimpioleinplaceobject; cimpioleobject; cimpipersiststorage; cimpipersiststreaminit; cimpipolyline; cimpipolylinecontrol; cimpiprovideclassinfo; cimpirunnableobject; cimpispecifypp; cimpiviewobject; clear; clone; closemetafile; cogetmalloc; colockobjectexternal; colorget; colorset; commandparams; contextsensitivehelp; cotaskmemfree; cpolyline; cpolylineclassfactory; createcompatiblebitmap; createcompatibledc; createdataadviseholder; createdatacache; createdialogparam; createinstance; createmetafile; createoleadviseholder; createpen; createsolidbrush; createstream; createwindowex; cstringtable; dadvise; dataget; dataset; declare_interface_; define_guid; defwindowproc; deletedc; deleteinterfaceimp; deletemetafile; deleteobject; destroywindow; discardundostate; dispgetidsofnames; dllcanunloadnow; dllgetclassobject; doverb; draw; dunadvise; enablemodeless; endpaint; enumadvise; enumconnectionpoints; enumconnections; enumdadvise; enumformatetc; enumverbs; failed; findconnectionpoint; freeze; freezeevents; get_backcolor; get_linecolor; get_linestyle; getadvise; getcanonicalformatetc; getclassid; getclassinfo; getclientrect; getclientsite; getclipboarddata; getcolorset; getconnectioninterface; getcontainer; getcontrolinfo; getdata; getdatahere; getdc; getdevicecaps; getdlgitem; getextent; getidsofnames; getmiscstatus; getmoniker; getpages; getparent; getprop; getrunningclass; getsizemax; getstockobject; getsyscolor; getsystemmetrics; gettypeinfo; gettypeinfocount; gettypeinfoofguid; getuserclassid; getusertype; getwindow; getwindowcontext; getwindowlong; getwindowrect; globalalloc; globalfree; globallock; globalunlock; handsoffstorage; hatchwindowregister; hwndassociateset; inflaterect; initfromdata; initnew; inole_registerasrunning; inole_revokeasrunning; inplaceactivate; inplacedeactivate; instance; invalidaterect; invoke; isdirty; isrunning; isuptodate; left; libmain; libmain32; linestyleget; linestyleset; lineto; liset32; load; loadcursor; loadregtypelib; loadtypelib; lockcontainer; lockrunning; lockserver; lstrcpy; makeintresource; makelp; makepoints; memcpy; memset; messagebeep; messagebox; movetoex; muldiv; multibytetowidechar; next; objectdestroyed; offsetof; offsetrect; olecreatepropertyframe; oleregenumverbs; olereggetmiscstatus; olereggetusertype; oletext; onambientpropertychange; oncolorchange; ondocwindowactivate; onframewindowactivate; oninplaceactivate; oninplacedeactivate; onlinestylechange; onmnemonic; onpointchange; onshowwindow; onsizechange; onuiactivate; onuideactivate; onviewchange; openstream; pointscale; polydlgproc; polylinewndproc; postmessage; put_backcolor; put_linecolor; put_linestyle; querygetdata; queryinterface; reactivateandundo; rectangle; rectconvertmappings; rectfromrectl; rectget; rectset; rectsset; rectstorect; recttorects; registerclass; registerclipboardformat; release; releaseconnection; releasedc; releaseinterface; releasestgmedium; removelastpoint; removeprop; renderbitmap; rendermetafilepict; rendernative; reset; resizeborder; restoredc; resultfromscode; run; save; savecompleted; savedc; saveobject; screentoclient; seek; selectobject; selectorof; sendadvise; sendcommand; sendonclose; sendonrename; sendonsave; setactiveobject; setadvise; setbkcolor; setborderspace; setclientsite; setcolorscheme; setcontainedobject; setdata; setextent; setfocus; sethostnames; setiid; setmapmode; setmenu; setmoniker; setnoparams; setobjectrects; setparent; setpixel; setpoint; setprop; setrect; setwindowextex; setwindowlong; setwindoworgex; setwindowpos; setwindowtext; showhatch; showobject; showpropertyframe; showwindow; sizeget; sizeset; skip; stdmethod; stdmethod_; stdmethodimp_; string; succeeded; text; translateaccelerator; uiactivate; uideactivate; uliset32; unadvise; undo; unfreeze; unlockdata; update; updatewindow; widechartomultibyte; window; writefmtusertypestg; wsprintf