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:
abortdoc; abortproc; activate; activateobject; activedocument; activepage; addref; addverbmenu; adjustposition; advise; alloc; ansiupper; appendmenu; beginpaint; bottom-; bringwindowtotop; cache; calcboundingrect; cb; cbdevmode; cchdevicename; cclient; cdocument; cdropsource; cdroptarget; cframe; cimpiadvisesink; cimpioleclientsite; clear; clienttoscreen; clip; cocreateinstance; cofreeunusedlibraries; cogetclassobject; cogetmalloc; colockobjectexternal; commandparams; commit; configurefordevice; convertobject; copyembeddedobject; copyto; cotaskmemfree; cotreatasclass; cpage; cpages; cpages; cpatronclient; cpatrondoc; cpatronframe; create; createcclient; createcdocument; createdatacache; createdialog; createfont; createic; 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; enable; enablemenuitem; enablerepaint; enablewindow; enddoc; endpage; endpaint; equalrect; escape; exttextout; failed; fdirtyget; fdirtyset; filenameget; firstpage; fisdirty; fmessagehook; formatetcget; fqueryobjectselected; fquerypaste; fquerypastefromdata; fqueryprintersetup; frameget; free; getclassid; getclientrect; getcontainer; getcursorpos; getdata; getdc; getdevicecaps; getdlgitem; getdlgitemtext; getextent; getfiletitle; getid; getinfo; getmenuitemcount; getmenuitemid; getmenustring; getmiscstatus; getmoniker; getparent; getprofileint; getscode; getscrollpos; getscrollrange; getstockobject; getstoragename; getsubmenu; getsyscolor; getsystemmenu; getsystemmetrics; gettextextentpoint; gettickcount; getuserclassid; getwindowinstance; getwindowlong; getwindowrect; givefeedback; globalalloc; globalfree; globallock; globalsize; globalunlock; initnew; inole_copystring; inole_doconvert; inole_getusertypeofclass; inole_metafilepicticonfree; inole_seticonincache; inole_switchdisplayaspect; insertobject; intersectrect; invalidate; invalidaterect; ipage-; isdialogmessage; isdirty; isrectempty; iswindowvisible; killtimer; lastpage; lineto; liset32; load; loadcursor; loadmenu; loadstring; lockserver; lptodp; lstrcmpi; lstrcpy; makeintresource; max; memcpy; memset; menuselectparams; messagebeep; messagebox; messagedisplay; messageloop; min; movetoex; muldiv; multibytetowidechar; newpage; nextpage; notifyofrename; notifytenantsofrename; numpagesget; objectclassformatandicon; objectget; objectinitialize; offsetrect; olecreate; olecreatefromdata; olecreatefromfile; oledraw; oleflushclipboard; olegetclipboard; olegeticonofclass; oleinitialize; oleisrunning; oleload; olequerycreatefromdata; olerun; olesave; olesetclipboard; olesetcontainedobject; oletext; oleuiaddverbmenu; oleuiconvert; oleuiinsertobject; oleuipastespecial; oleuninitialize; onclose; oncommand; ondatachange; onleftdoubleclick; onleftdown; onleftup; onmousemove; onnchittest; onrename; onrightdown; onsave; onsetcursor; onshowwindow; ontimer; onviewchange; open; openstorage; openstream; pageadd; pagedelete; pageget; pageinsert; pageswndproc; paste; pastefromdata; pastespecial; peekmessage; pointfrompointl; pointlfrompoint; 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; setmapmode; setpoint; setpointl; setrect; setrectl; setscrollpos; setscrollrange; setsizel; settextcolor; settimer; setwindowlong; setwindowpos; showasopen; showobject; showwindow; showyourself; sizeget; sizeset; startdoc; startpage; startsizetracking; stdmethodimp_; stgcreatedocfile; stgopenstorage; storageget; storageset; storageupdate; succeeded; switchorupdateaspect; switchtofile; tenantadd; tenantclip; tenantcreate; tenantdestroy; tenantfrompoint; tenantget; text; textout; trackpopupmenu; transferobjectcreate; translatemessage; typeget; uicursorload; uidrawhandles; uidrawshading; update; updatemenus; updatescrollranges; updatetoolbar; updatewindow; utestdroppablepoint; window; writeclassstg; writefmtusertypestg; wsprintf; xformrectinpixelstohimetric; xformsizeinhimetrictopixels; xformsizeinpixelstohimetric