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; cancellink; cb; cbdevmode; cchdevicename; cchpathmax; cclient; cdocument; cdropsource; cdroptarget; cframe; checkmenuitem; cimpiadvisesink; cimpioleclientsite; cimpioleitemcontainer; cimpipersistfile; cioleuilinkcontainer; clear; clienttoscreen; clinkclassfactory; clip; closedocument; cocreateinstance; cofreeunusedlibraries; cogetclassobject; cogetmalloc; colockobjectexternal; commandparams; commit; composewith; configurefordevice; 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; defwindowproc; delete; deletedc; deletefile; deleteinterfaceimp; deleteobject; deletepage; destroy; destroyelement; destroymenu; destroywindow; devmodeget; devmodeset; devreadconfig; dispatchmessage; dodragdrop; doverb; dptolp; dragdrop; dragenter; dragleave; dragover; draw; drawdroptargetrect; drawfocusrect; drop; editlinks; enable; enablemenuitem; 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; getclassid; getclientrect; getcontainer; getcurfile; getcursorpos; getdata; getdc; getdevicecaps; getdisplayname; getdlgitem; getdlgitemtext; getextent; getfiletitle; getid; getinfo; getlinksource; getlinkupdateoptions; getmenuitemcount; getmenuitemid; getmenustring; getmiscstatus; getmoniker; getnextlink; getobject; getobjectinterface; getobjectstorage; getparent; getprofileint; getscode; getscrollpos; getscrollrange; getsourcemoniker; getstockobject; getstoragename; getsubmenu; getsyscolor; getsystemmenu; getsystemmetrics; gettextextentpoint; gettickcount; getuilinkcontainer; getupdateoptions; getuserclassid; 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; insertobject; intersectrect; invalidate; invalidaterect; ipage; ipagegetfromid; isdialogmessage; isdirty; isrectempty; isrunning; iswindow; killtimer; lastpage; left; lineto; liset32; load; loadcursor; loadmenu; loadstring; lockcontainer; lockserver; lptodp; lstrcmpi; lstrcpy; lstrlen; makeintresource; max; memcpy; memset; menuselectparams; messagebeep; messagebox; messagedisplay; messageloop; min; movetoex; muldiv; multibytetowidechar; newdocument; newpage; nextpage; notifyofrename; notifytenantsofrename; numpagesget; objectclassformatandicon; objectdestroyed; objectget; objectinitialize; offsetrect; olecreate; olecreatefromdata; olecreatefromfile; olecreatelinkfromdata; olecreatelinktofile; oledraw; oleflushclipboard; olegetclipboard; olegeticonofclass; oleinitialize; oleisrunning; oleload; olequerycreatefromdata; olequerylinkfromdata; olerun; olesave; olesetclipboard; olesetcontainedobject; oletext; oleuiaddverbmenu; oleuiconvert; oleuieditlinks; oleuiinsertobject; oleuipastespecial; oleuipromptuser; oleuiupdatelinks; oleuninitialize; onclose; oncommand; ondatachange; onleftdoubleclick; onleftdown; onleftup; onmousemove; onnchittest; onrename; onrightdown; onsave; onsetcursor; onshowwindow; ontimer; 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; release; releasecapture; releasedc; releaseinterface; releasestgmedium; remove; rename; repaint; requestnewobjectlayout; resultfromscode; revokedragdrop; right; save; savecompleted; saveobject; screentoclient; scrollthumbposition; scrollwindow; seek; select; selectobject; selecttenantatpoint; sendmessage; sendscrollposition; setabortproc; setadvise; setbkcolor; setcapture; setclientsite; setcursor; setdata; setdefformatetc; setdlgitemtext; setextent; setfocus; setformatetc; sethostnames; setlinksource; setlinkupdateoptions; setmapmode; setmoniker; setpoint; setpointl; setrect; setrectl; setscrollpos; setscrollrange; setsizel; settextcolor; settimer; setupdateoptions; setwindowlong; setwindowpos; showasopen; showobject; showobjecttype; showobjecttypes; showorqueryobjecttypes; showwindow; showyourself; sizeget; sizeset; startdoc; startpage; startsizetracking; stdmethodimp_; stgcreatedocfile; stgopenstorage; storageget; storageset; storageupdate; succeeded; switchorupdateaspect; switchtofile; tenantadd; tenantclip; tenantcreate; tenantdestroy; tenantfromname; tenantfrompoint; tenantget; tenantgetfromid; text; textout; top; trackpopupmenu; transferobjectcreate; translatemessage; typeget; uicursorload; uidrawhandles; uidrawshading; uishowobject; unicodetoansi; update; updatelink; updatemenus; updatescrollranges; updatetoolbar; updatewindow; utestdroppablepoint; widechartomultibyte; window; writeclassstg; writefmtusertypestg; wsprintf; xformrectinpixelstohimetric; xformsizeinhimetrictopixels; xformsizeinpixelstohimetric; xhit