Patron (Chapter 13)

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; activedocument; activepage; addref; adjustposition; alloc; beginpaint; bottom; bringwindowtotop; cache; calcboundingrect; cb; cbdevmode; cchdevicename; cchdevicename; cclient; cdocument; cdropsource; cdroptarget; cframe; clear; clienttoscreen; clip; cocreateinstance; cofreeunusedlibraries; cogetclassobject; cogetmalloc; colockobjectexternal; commandparams; commit; configurefordevice; copyto; cpage; cpages; cpages; cpatronclient; cpatrondoc; cpatronframe; create; createcclient; createcdocument; createdatacache; createdialog; createfont; createic; createpen; createsolidbrush; createstatic; createstorage; createstream; createtoolbar; createwindow; createwindowex; ctenant; ctenants; curpageget; curpageset; cwindow; defwindowproc; delete; deletedc; deletefile; deleteobject; deletepage; destroy; destroyelement; destroywindow; devmodeget; devmodeset; devreadconfig; dispatchmessage; dodragdrop; dptolp; dragdrop; dragenter; dragleave; dragover; draw; drawdroptargetrect; drawfocusrect; drop; enable; enablemenuitem; enablewindow; enddoc; endpage; endpaint; equalrect; escape; exttextout; failed; fdirtyget; fdirtyset; firstpage; fisdirty; fmessagehook; formatetcget; fqueryobjectselected; fquerypaste; fquerypastefromdata; fqueryprintersetup; frameget; free; getclientrect; getcursorpos; getdata; getdc; getdevicecaps; getdlgitem; getdlgitemtext; getextent; getid; getinfo; getparent; getprofileint; getscode; getscrollpos; getscrollrange; getstockobject; getstoragename; getsyscolor; getsystemmenu; getsystemmetrics; gettextextentpoint; gettickcount; getwindowlong; getwindowrect; givefeedback; globalalloc; globalfree; globallock; globalsize; globalunlock; initnew; intersectrect; invalidate; invalidaterect; ipage; isdialogmessage; isrectempty; killtimer; lastpage; left; lineto; liset32; load; loadcursor; lockserver; lptodp; lstrcmpi; lstrcpy; makeintresource; max; memcpy; memset; messagebeep; messagebox; messageloop; min; movetoex; muldiv; multibytetowidechar; newpage; nextpage; numpagesget; objectget; offsetrect; oledraw; oleflushclipboard; olegetclipboard; oleinitialize; oleload; olesave; olesetclipboard; oletext; oleuipastespecial; oleuninitialize; oncommand; onleftdoubleclick; onleftdown; onleftup; onmousemove; onnchittest; onsetcursor; ontimer; 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; rectangle; rectconvertmappings; rectfromrectl; rectget; rectlfromrect; rectset; registerallclasses; registerclass; registerdragdrop; release; releasecapture; releasedc; releaseinterface; releasestgmedium; remove; rename; repaint; resultfromscode; revokedragdrop; right; save; savecompleted; screentoclient; scrollthumbposition; scrollwindow; seek; select; selectobject; sendmessage; setabortproc; setbkcolor; setcapture; setcursor; setdata; setdefformatetc; setdlgitemtext; setextent; setfocus; setmapmode; setpoint; setrect; setrectl; setscrollpos; setscrollrange; setsizel; settextcolor; settimer; setwindowlong; setwindowpos; showwindow; sizeget; sizeset; startdoc; startpage; startsizetracking; stdmethodimp_; stgcreatedocfile; stgopenstorage; storageset; storageupdate; succeeded; switchtofile; tenantadd; tenantclip; tenantcreate; tenantdestroy; tenantfrompoint; tenantget; text; textout; top; transferobjectcreate; translatemessage; uicursorload; uidrawhandles; update; updatemenus; updatescrollranges; updatetoolbar; updatewindow; utestdroppablepoint; window; writeclassstg; writefmtusertypestg; wsprintf