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:
addref; advise; beginpaint; cconnectionpoint; cenumformatetc; checkradiobutton; choosecolor; cimpiconnptcont; cimpidataobject; cimpioleobject; cimpipersiststorage; cimpipersiststreaminit; cimpipolyline; cimpirunnableobject; cimpiviewobject; clone; closemetafile; colockobjectexternal; colorget; colorset; cpolyline; cpolylineclassfactory; createcompatiblebitmap; createcompatibledc; createdataadviseholder; createdatacache; createdialogparam; createinstance; createmetafile; createoleadviseholder; createpen; createsolidbrush; createstream; createwindowex; cstringtable; dadvise; dataget; dataset; defwindowproc; deletedc; deleteinterfaceimp; deletemetafile; deleteobject; destroywindow; dllcanunloadnow; dllgetclassobject; doverb; draw; dunadvise; endpaint; enumadvise; enumconnectionpoints; enumconnections; enumdadvise; enumformatetc; enumverbs; failed; findconnectionpoint; freeze; getadvise; getcanonicalformatetc; getclassid; getclassinfo; getclientrect; getclientsite; getclipboarddata; getcolorset; getconnectioninterface; getdata; getdatahere; getdc; getdevicecaps; getdlgitem; getextent; getmiscstatus; getmoniker; getparent; getprop; getrunningclass; getsizemax; getstockobject; getsyscolor; getsystemmetrics; getuserclassid; getusertype; getwindowlong; getwindowrect; globalalloc; globalfree; globallock; globalunlock; handsoffstorage; inflaterect; initfromdata; initnew; instance; invalidaterect; isdirty; isrunning; isuptodate; left; libmain; libmain32; linestyleget; linestyleset; lineto; liset32; load; loadcursor; lockrunning; lockserver; lstrcpy; makeintresource; makelp; makepoints; memcpy; memset; messagebeep; messagebox; movetoex; muldiv; next; objectdestroyed; offsetof; offsetrect; oleregenumverbs; olereggetmiscstatus; olereggetusertype; oletext; oncolorchange; onlinestylechange; onpointchange; onshowwindow; onsizechange; onviewchange; openstream; pointscale; polydlgproc; polylinewndproc; postmessage; querygetdata; queryinterface; rectangle; rectconvertmappings; rectfromrectl; rectget; rectset; rectstorect; recttorects; registerclass; registerclipboardformat; release; releasedc; releaseinterface; releasestgmedium; removeprop; renderbitmap; rendermetafilepict; rendernative; reset; restoredc; resultfromscode; run; save; savecompleted; savedc; saveobject; screentoclient; seek; selectobject; selectorof; sendadvise; sendcommand; sendonclose; sendonsave; setadvise; setbkcolor; setclientsite; setcolorscheme; setcontainedobject; setdata; setextent; setfocus; sethostnames; setmapmode; setmoniker; setpixel; setpoint; setprop; setrect; setwindowextex; setwindowlong; setwindoworgex; setwindowpos; setwindowtext; showobject; showwindow; sizeget; sizeset; skip; stdmethodimp_; string; text; top; uliset32; unadvise; undo; unfreeze; unlockdata; update; updatewindow; widechartomultibyte; window; writefmtusertypestg; wsprintf