Patron (Chapter 12)

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; alloc; beginpaint; cache; calcboundingrect; cb; cbdevmode; cchdevicename; cchdevicename; cclient; cdocument; cframe; clear; clienttoscreen; clip; cocreateinstance; cofreeunusedlibraries; cogetclassobject; cogetmalloc; 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; dptolp; draw; drawfocusrect; enable; enablemenuitem; enablewindow; enddoc; endpage; endpaint; equalrect; escape; exttextout; failed; fdirtyget; fdirtyset; firstpage; fisdirty; fmessagehook; formatetcget; fqueryobjectselected; fquerypaste; fquerypastefromdata; fqueryprintersetup; frameget; free; getclientrect; getdata; getdc; getdevicecaps; getdlgitem; getdlgitemtext; getextent; getid; getinfo; getparent; getscode; getscrollpos; getscrollrange; getstockobject; getstoragename; getsyscolor; getsystemmenu; getsystemmetrics; gettextextentpoint; getwindowlong; getwindowrect; globalalloc; globalfree; globallock; globalsize; globalunlock; initnew; intersectrect; invalidate; invalidaterect; ipage; isdialogmessage; killtimer; lastpage; 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; previouspage; print; printdlg; printdlghook; printdlgproc; printersetup; querygetdata; queryinterface; readclassstg; rectangle; rectconvertmappings; rectfromrectl; rectget; rectlfromrect; rectset; registerallclasses; registerclass; release; releasecapture; releasedc; releaseinterface; releasestgmedium; remove; rename; repaint; resultfromscode; 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; stgcreatedocfile; stgopenstorage; storageset; storageupdate; succeeded; switchtofile; tenantadd; tenantclip; tenantcreate; tenantdestroy; tenantfrompoint; tenantget; text; textout; top; transferobjectcreate; translatemessage; uicursorload; uidrawhandles; update; updatemenus; updatescrollranges; updatetoolbar; updatewindow; window; writeclassstg; writefmtusertypestg; wsprintf