SimpCntr: Simple OLE Container

Click to open or copy the SimpCntr project files.

The Simpcntr sample is the simplest OLE container that can be written that supports the visual editing feature. The sample has no native file format, and can only support one OLE object at a time. Use the Insert Object command to create an object.

Building SDK Samples

This sample uses the following keywords:

about; addframeleveltools; addframelevelui; addref; appendmenu; assert; beginpaint; bool; bringwindowtotop; cadvisesink; close; closeoleobject; cogetmalloc; coleclientsite; coleinplaceframe; coleinplacesite; contextsensitivehelp; copyrect; create; createpalette; createstandardpalette; createstorage; createwindow; csimpleapp; csimpledoc; csimplesite; defined; defwindowproc; deleteobject; destroydocs; destroymenu; destroywindow; dialogbox; disableinsertobject; dispatchmessage; docwndproc; doverb; enablemenuitem; enddialog; endpaint; failed; finitapplication; finitinstance; free; getclientrect; getcolorset; getcontainer; getdc; getdevicecaps; getextent; getmenu; getmenuitemcount; getmessage; getmoniker; getobjrect; getstockobject; getsubmenu; getsystempaletteentries; getwindow; handleaccelerators; hiword; initapplication; initinstance; initobject; inplacedeactivate; insertobject; invalidaterect; laddverbs; lcommandhandler; lcreatedoc; loadcursor; loadicon; loword; lresizedoc; lsizehandler; mainwndproc; memset; movewindow; muldiv; olebuildversion; oledraw; olefree; oleinitialize; olesave; olesetcontainedobject; olesetmenudescriptor; olestr; oleuiinsertobject; oleuninitialize; onclose; onframewindowactivate; onshowwindow; outputdebugstring; paintapp; paintdoc; paintobj; postquitmessage; ptinrect; queryinterface; querynewpalette; realizepalette; registerclass; release; releasedc; removemenu; requestnewobjectlayout; resizeborder; revert; rgb; safeaddref; saferelease; savecompleted; saveobject; selectobject; selectpalette; sendmessage; setadvise; setfocus; sethostnames; setmessagequeue; setobjectrects; setrectempty; setrop2; showobject; showwindow; stabilize; stdmethodimp_; style; succeeded; translateaccelerator; translatemessage; uideactivate; unloadoleobject; updatewindow; warning; winmain; wselectpalette; xformheightinhimetrictopixels; xformwidthinhimetrictopixels