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.
This sample uses the following keywords:
addconnection; addref; advise; beginpaint; calcpolyrectindialog; caninplaceactivate; cconnectionpoint; cenumformatetc; chatchwin; checkradiobutton; childset; choosecolor; cimpiconnptcont; cimpidataobject; cimpiexternalconnection; cimpioleinplaceactiveobject; cimpioleinplaceobject; cimpioleobject; cimpipersiststorage; cimpipersiststreaminit; cimpipolyline; cimpirunnableobject; cimpiviewobject; clone; closemetafile; colockobjectexternal; colorget; colorset; commandparams; contextsensitivehelp; cpolyline; cpolylineclassfactory; createcompatiblebitmap; createcompatibledc; createdataadviseholder; createdatacache; createdialogparam; createinstance; createmetafile; createoleadviseholder; createpen; createsolidbrush; createstream; createwindowex; cstringtable; dadvise; dataget; dataset; defwindowproc; deletedc; deleteinterfaceimp; deletemetafile; deleteobject; destroywindow; discardundostate; dllcanunloadnow; dllgetclassobject; doverb; draw; dunadvise; enablemodeless; endpaint; enumadvise; enumconnectionpoints; enumconnections; enumdadvise; enumformatetc; enumverbs; failed; findconnectionpoint; freeze; getadvise; getcanonicalformatetc; getclassid; getclassinfo; getclientrect; getclientsite; getclipboarddata; getcolorset; getconnectioninterface; getcontainer; getdata; getdatahere; getdc; getdevicecaps; getdlgitem; getextent; getmiscstatus; getmoniker; getparent; getprop; getrunningclass; getsizemax; getstockobject; getsyscolor; getsystemmetrics; getuserclassid; getusertype; getwindow; getwindowcontext; getwindowlong; getwindowrect; globalalloc; globalfree; globallock; globalunlock; handsoffstorage; hatchwindowregister; hwndassociateset; inflaterect; initfromdata; initnew; inole_registerasrunning; inole_revokeasrunning; inplaceactivate; inplacedeactivate; instance; invalidaterect; isdirty; isrunning; isuptodate; left; libmain; libmain32; linestyleget; linestyleset; lineto; liset32; load; loadcursor; lockcontainer; lockrunning; lockserver; lstrcpy; makeintresource; makelp; makepoints; memcpy; memset; messagebeep; messagebox; movetoex; muldiv; multibytetowidechar; next; objectdestroyed; offsetof; offsetrect; oleregenumverbs; olereggetmiscstatus; olereggetusertype; oletext; oncolorchange; ondocwindowactivate; onframewindowactivate; oninplaceactivate; oninplacedeactivate; onlinestylechange; onpointchange; onshowwindow; onsizechange; onuiactivate; onuideactivate; onviewchange; openstream; pointscale; polydlgproc; polylinewndproc; postmessage; querygetdata; queryinterface; reactivateandundo; rectangle; rectconvertmappings; rectfromrectl; rectget; rectset; rectsset; rectstorect; recttorects; registerclass; registerclipboardformat; release; releaseconnection; releasedc; releaseinterface; releasestgmedium; 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; setmapmode; setmenu; setmoniker; setobjectrects; setparent; setpixel; setpoint; setprop; setrect; setwindowextex; setwindowlong; setwindoworgex; setwindowpos; setwindowtext; showobject; showwindow; sizeget; sizeset; skip; stdmethodimp_; string; succeeded; text; top; translateaccelerator; uiactivate; uideactivate; uliset32; unadvise; undo; unfreeze; unlockdata; update; updatewindow; widechartomultibyte; window; writefmtusertypestg; wsprintf