Patron (Chapter 20)

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.

Building SDK Samples

This sample uses the following keywords:

abortdoc; abortproc; activate; activateobject; activedocument; activepage; addref; addverbmenu; adjustposition; advise; alloc; ansiupper; appendmenu; beginpaint; bindifrunning; bottom; bringwindowtotop; cache; calcboundingrect; cancellink; cb; cbdevmode; cchdevicename; cchdevicename; cclient; cdocument; cdropsource; cdroptarget; cframe; checkmenuitem; cimpiadvisesink; cimpioleclientsite; cioleuilinkcontainer; clear; clienttoscreen; clip; cocreateinstance; cofreeunusedlibraries; cogetclassobject; cogetmalloc; colockobjectexternal; commandparams; commit; configurefordevice; convertobject; converttostatic; copyembeddedobject; copyto; cotaskmemfree; cotreatasclass; cpage; cpages; cpages; cpatronclient; cpatrondoc; cpatronframe; create; createcclient; createcdocument; createdatacache; createdialog; createfilemoniker; 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; editlinks; enable; enablemenuitem; enablerepaint; enablewindow; enddoc; endpage; endpaint; equalrect; escape; exttextout; failed; fdirtyget; fdirtyset; filenameget; firstpage; fisdirty; fisselected; fmessagehook; formatetcget; fqueryenableeditlinks; fquerylinksinpage; fqueryobjectselected; fquerypaste; fquerypastefromdata; fquerypastelinkfromdata; fqueryprintersetup; frameget; free; getclassid; getclientrect; getcontainer; getcursorpos; getdata; getdc; getdevicecaps; getdlgitem; getdlgitemtext; getextent; getfiletitle; getid; getinfo; getlinksource; getlinkupdateoptions; getmenuitemcount; getmenuitemid; getmenustring; getmiscstatus; getmoniker; getnextlink; getobjectinterface; 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_doconvert; inole_getusertypeofclass; inole_metafilepicticonfree; inole_seticonincache; inole_switchdisplayaspect; insertobject; intersectrect; invalidate; invalidaterect; ipage; isdialogmessage; isdirty; isrectempty; 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; 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; 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; 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; tenantfrompoint; tenantget; text; textout; top; top-m_cy-; trackpopupmenu; transferobjectcreate; translatemessage; typeget; uicursorload; uidrawhandles; uidrawshading; uishowobject; update; updatelink; updatemenus; updatescrollranges; updatetoolbar; updatewindow; utestdroppablepoint; window; writeclassstg; writefmtusertypestg; wsprintf; xformrectinpixelstohimetric; xformsizeinhimetrictopixels; xformsizeinpixelstohimetric; xhit