Click to open or copy the Patron 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:
_tcsncicmp; _ttoi; abortdoc; abortproc; activate; activateobject; activedocument; activepage; addref; addverbmenu; adjustposition; advise; alloc; ansiupper; appendmenu; atol; beginpaint; bindifrunning; bottom; bringwindowtotop; cache; calcboundingrect; callcontexthelpondocuments; cancellink; caninplaceactivate; cbdevmode; cchdevicename; cchpathmax; cclient; cdocument; cdropsource; cdroptarget; cframe; checkmenuitem; cimpiadvisesink; cimpioleclientsite; cimpioleinplacesite; cimpioleinplaceuiwindow; cimpioleitemcontainer; cimpipersistfile; cioleuilinkcontainer; clear; clienttoscreen; clinkclassfactory; clip; closedocument; cocreateinstance; cofreeunusedlibraries; cogetclassobject; cogetmalloc; colockobjectexternal; commandparams; commit; composewith; configurefordevice; contextsensitivehelp; convertobject; converttostatic; copyembeddedobject; copylinkedobject; copyto; coregisterclassobject; corevokeclassobject; cotaskmemalloc; cotaskmemfree; cotreatasclass; cpage; cpages; cpages; cpatronclient; cpatrondoc; cpatronframe; create; createbindctx; createcclient; createcdocument; createdatacache; createdialog; createfilemoniker; createfont; createic; createinstance; createitemmoniker; createpen; createpopupmenu; createsolidbrush; createstatic; createstorage; createstream; createtoolbar; createwindow; createwindowex; ctenant; ctenants; curpageget; curpageset; cwindow; deactivateandundo; deactivateinplaceobject; defwindowproc; delete; deletedc; deletefile; deleteinterfaceimp; deleteobject; deletepage; destroy; destroyelement; destroymenu; destroywindow; devmodeget; devmodeset; devreadconfig; discardundostate; dispatchmessage; dodragdrop; doverb; dptolp; dragdrop; dragenter; dragleave; dragover; draw; drawdroptargetrect; drawfocusrect; drawmenubar; drop; editlinks; enable; enablemenuitem; enablemodeless; enablerepaint; enablewindow; enddoc; endpage; endpaint; enumobjects; equalrect; escape; exttextout; failed; fdirtyget; fdirtyset; filenameget; firstpage; fisdirty; fisselected; fmessagehook; formatetcget; fqueryenableeditlinks; fquerylinksinpage; fqueryobjectselected; fquerypaste; fquerypastefromdata; fquerypastelinkfromdata; fqueryprintersetup; frameget; free; getborder; getclassid; getclientrect; getcontainer; getcurfile; getcursorpos; getdata; getdc; getdevicecaps; getdisplayname; getdlgitem; getdlgitemtext; getextent; getfiletitle; getid; getinfo; getlinksource; getlinkupdateoptions; getmenu; getmenuitemcount; getmenuitemid; getmenustring; getmessage; getmessagepos; getmessagetime; getmiscstatus; getmoniker; getnextlink; getobject; getobjectinterface; getobjectstorage; getparent; getprofileint; getscode; getscrollpos; getscrollrange; getsourcemoniker; getstockobject; getstoragename; getsubmenu; getsyscolor; getsystemmenu; getsystemmetrics; gettextextentpoint; gettickcount; getuilinkcontainer; getupdateoptions; getuserclassid; getwindow; getwindowcontext; getwindowinstance; getwindowlong; getwindowrect; givefeedback; globalalloc; globalfree; globallock; globalsize; globalunlock; initnew; inole_copystring; inole_createitemmoniker; inole_doconvert; inole_getlinksourcedata; inole_getusertypeofclass; inole_metafilepicticonfree; inole_notechangetime; inole_registerasrunning; inole_revokeasrunning; inole_seticonincache; inole_switchdisplayaspect; inplacedeactivate; insertmenu; insertmenus; insertobject; intersectrect; invalidate; invalidaterect; ipage; ipagegetfromid; isdialogmessage; isdirty; isrectempty; isrunning; iswindow; iszoomed; killtimer; lastpage; left; lineto; liset32; load; loadaccelerators; loadcursor; loadmenu; loadstring; lockcontainer; lockserver; lptodp; lstrcmpi; lstrcpy; lstrlen; makeintresource; makelong; max; mdirefreshmenu; mdisetmenu; memcpy; memset; menuselectparams; messagebeep; messagebox; messagedisplay; messageloop; messageset; min; movetoex; movewithoutfamily; muldiv; multibytetowidechar; newdocument; newpage; nextpage; noobjectframetools; notifyofrename; notifytenantsofrename; numpagesget; objectclassformatandicon; objectdestroyed; objectget; objectinitialize; objectwindow; offsetrect; olecreate; olecreatefromdata; olecreatefromfile; olecreatelinkfromdata; olecreatelinktofile; oledraw; oleflushclipboard; olegetclipboard; olegeticonofclass; oleinitialize; oleisrunning; oleload; olequerycreatefromdata; olequerylinkfromdata; olerun; olesave; olesetclipboard; olesetcontainedobject; olesetmenudescriptor; oletext; oleuiaddverbmenu; oleuiconvert; oleuieditlinks; oleuiinsertobject; oleuipastespecial; oleuipromptuser; oleuiupdatelinks; oleuninitialize; onclose; oncommand; ondatachange; ondocwindowactivate; oninplaceactivate; oninplacedeactivate; onleftdoubleclick; onleftdown; onleftup; onmousemove; onnchittest; onposrectchange; onrename; onrightdown; onsave; onsetcursor; onshowwindow; onsize; ontimer; onuiactivate; onuideactivate; onviewchange; open; openlinksource; openstorage; openstream; pageadd; pagedelete; pageget; pageinsert; pageswndproc; parsecommandline; parsedisplayname; paste; pastefromdata; pastespecial; peekmessage; pointfrompointl; pointlfrompoint; postmessage; preshowinit; previouspage; print; printdlg; printdlghook; printdlgproc; printersetup; ptinrect; querycontinuedrag; querygetdata; queryinterface; readclassstg; readfmtusertypestg; rectangle; rectconvertmappings; rectfromrectl; rectget; rectlfromrect; rectset; registerallclasses; registerclass; registerclipboardformat; registerdragdrop; reinstateui; release; releasecapture; releasedc; releaseinterface; releasestgmedium; remove; removemenu; removemenus; rename; repaint; requestborderspace; requestnewobjectlayout; resizeborder; resultfromscode; revokedragdrop; right; save; savecompleted; saveobject; screentoclient; scroll; scrolledwindow; scrollthumbposition; scrollwindow; seek; select; selectobject; selecttenantatpoint; sendmessage; sendscrollposition; setabortproc; setactiveobject; setadvise; setbkcolor; setborderspace; setcapture; setclientsite; setcursor; setdata; setdefformatetc; setdlgitemtext; setextent; setfocus; setformatetc; sethostnames; setlinksource; setlinkupdateoptions; setmapmode; setmenu; setmoniker; setobjectrects; setpoint; setpointl; setrect; setrectl; setscrollpos; setscrollrange; setsizel; setstatustext; settextcolor; settimer; setupdateoptions; setwindowlong; setwindowpos; showasopen; showobject; showobjecttype; showobjecttypes; showorqueryobjecttypes; showuiandtools; showwindow; showyourself; sizeget; sizeset; startdoc; startpage; startsizetracking; stdmethodimp_; stgcreatedocfile; stgopenstorage; storageget; storageset; storageupdate; succeeded; switchactivetenant; switchorupdateaspect; switchtofile; tenantadd; tenantclip; tenantcreate; tenantdestroy; tenantfromname; tenantfrompoint; tenantget; tenantgetfromid; text; textout; trackpopupmenu; transferobjectcreate; translateaccelerator; translatemdisysaccel; translatemessage; typeget; uicursorload; uideactivate; uidrawhandles; uidrawshading; uishowobject; unicodetoansi; update; updateinplaceobjectrects; updatelink; updatemenus; updatescrollranges; updatetoolbar; updatewindow; utestdroppablepoint; widechartomultibyte; window; writeclassstg; writefmtusertypestg; wsprintf; xformrectinpixelstohimetric; xformsizeinhimetrictopixels; xformsizeinpixelstohimetric