Framer: Active Document Objects Hosting as a Container

Click to open or copy the Framer project files.

Framer is intended to demonstrate simple Active Document Objects hosting as a container. That is, Framer demonstrates the basic support necessary to host Active Documents. It is implemented according to the guidelines in the "Active Documents Specification" document and has been tested against Microsoft Word and Microsoft Excel, as well as a few other OLE-enabled applications that do not support Active Documents.

Building SDK Samples

This sample demonstrates the following keywords:

aboutproc; accelerators; activate; activateme; addref; advise; beginpaint; caninplaceactivate; chourglass; cimpiadvisesink; cimpioleclientsite; cimpioledocumentsite; cimpioleinplacesite; clientwndproc; close; commdlgextendederror; commit; contextsensitivehelp; create; createobject; createstorage; createstream; createstreamonhglobal; createview; createwindow; csite; deactivateandundo; defwindowproc; deleteinterfaceimp; destroy; destroyelement; destroymenu; destroywindow; dialogbox; discardundostate; dispatchmessage; doverb; drawmenubar; enablemenuitem; enablemodeless; enddialog; endpaint; exec; failed; framewndproc; getborder; getclientrect; getcontainer; getmenu; getmenuitemcount; getmessage; getmoniker; getopenfilename; getsubmenu; getsyscolor; getwindow; getwindowcontext; init; inplacedeactivate; insertmenu; insertmenus; instance; invalidaterect; loadaccelerators; loadcursor; loadicon; loadmenu; loword; lstrlen; makeintresource; makelong; memset; messageloop; messageloop; multibytetowidechar; objectinitialize; olecreatefromfile; oleinitialize; olerun; olesave; olesetmenudescriptor; oleuninitialize; onclose; oncommand; ondatachange; onframewindowactivate; oninplaceactivate; oninplacedeactivate; onposrectchange; onrename; onsave; onshowwindow; onuiactivate; onuideactivate; onviewchange; opendialog; postmessage; postquitmessage; queryinterface; querystatus; registerallclasses; registerclass; release; releasecapture; releaseinterface; removemenu; removemenus; requestborderspace; requestnewobjectlayout; resizeborder; resizeclientwindow; resultfromscode; savecompleted; saveobject; scroll; sendmessage; setactiveobject; setbkcolor; setborderspace; setcapture; setclientsite; setcursor; setfocus; setinplacesite; setmenu; setrect; setstatustext; setwindowlong; setwindowpos; show; showobject; showwindow; stdmethodimp_; stgcreatedocfile; succeeded; text; textout; translateaccelerator; translatemessage; uiactivate; update; updateobjectrects; updatewindow; window