Click to open or copy the SimpSvr project files.
The Simpsvr sample implements the simplest OLE object that supports visual editing. The object is a colored square with a black border.
This sample uses the following keywords:
addframelevelui; addref; advise; assemblemenus; beginpaint; caninplaceactivate; cclassfactory; cdataobject; cexternalconnection; cleardataadviseholder; cleardoc; clearobj; clearoleadviseholder; clearoleclientsite; close; closemetafile; codisconnectobject; cofiletimenow; coleinplaceactiveobject; coleinplaceobject; coleobject; colockobjectexternal; copyrect; coregisterclassobject; corevokeclassobject; cpersiststorage; create; createbrushindirect; createdataadviseholder; createhatchwindow; createmenu; createmetafile; createobject; createoleadviseholder; createpen; createstreams; createwindow; csimpsvrapp; csimpsvrdoc; csimpsvrobj; deactivateui; define_guid; defined; defwindowproc; deleteobject; destroymenu; destroywindow; dialogbox; disassemblemenus; dispatchmessage; docwndproc; doinplaceactivate; doinplacehide; draw; enddialog; endpaint; enumadvise; finitapplication; finitinstance; float; getapp; getclientrect; getcolormenu; getdataadviseholder; getdataobject; getdoc; getframeinfo; gethappwnd; gethdocwnd; gethelpmenu; gethhatchwnd; gethinst; getinplaceframe; getinplacesite; getmainmenu; getmenu; getmessage; getmetafilepict; getobj; getoleadviseholder; getoleclientsite; getoleinplaceactiveobject; getoleinplaceobject; getoleobject; getparent; getpersiststorage; getposrect; getregisterclass; getrotregister; getrunningobjecttable; getsize; getstockobject; getstorage; getsubmenu; getuiwindow; getwindow; globallock; globalunlock; hideappwnd; hidedocwnd; hidehatchwnd; hiword; initapplication; initinstance; inplacedeactivate; insertmenu; intersectrect; invalidaterect; isdirty; isinitialized; isinplaceactive; isinplacevisible; isstartedbyole; isuiactive; isuptodate; laddverbs; lbuttondown; lcommandhandler; lcreatedoc; load; loadcursor; loadfromstorage; loadicon; loword; lresizedoc; lsizehandler; mainwndproc; movewindow; notechangetime; offsetrect; olebuildversion; olecreatemenudescriptor; oledbgdata_main; oledbgout; oledestroymenudescriptor; oleinitialize; olestdinitialize; olestduninitialize; olestr; oleuiinitialize; oleuiuninitialize; oleuninitialize; oninplaceactivate; oninplacedeactivate; onshowwindow; onuiactivate; onuideactivate; openedit; openstreams; outputdebugstring; paintapp; paintdoc; paintobj; parsecmdline; postmessage; postquitmessage; querygetdata; queryinterface; read; register; registerclass; registerhatchwindowclass; release; releasestreamsandstorage; removemenu; removemenus; revoke; rgb; rotatecolor; safeaddref; saferelease; saveobject; seek; selectobject; sendmessage; sendonclose; sendondatachange; sendonrename; sendonsave; setactiveobject; setborderspace; setfocus; sethatchwindowsize; setmapmode; setmenu; setmessagequeue; setrectempty; setsize; setstatustext; setviewportextex; setwindowextex; setwindoworgex; showappwnd; showdocwnd; showhatchwnd; showobject; showwindow; stabilize; stdmethodimp_; style; translatemessage; uideactivate; unadvise; update; updatewindow; winmain; write; wsprintf; xformheightinpixelstohimetric; xformwidthinpixelstohimetric