Click to open or copy the SimpDND project files.
The Simpdnd sample provides a simple implementation of OLE drag and drop.
This sample uses the following keywords:
_fmemset; about; addref; assert; beginpaint; bool; bringwindowtotop; cadvisesink; cdataxferobj; cdropsource; cdroptarget; close; closeoleobject; coleclientsite; copyobjecttoclip; copyto; create; createpalette; createpen; createstorage; createwindow; csimpleapp; csimpledoc; csimplesite; defined; defwindowproc; deleteobject; destroydocs; destroymenu; destroywindow; dialogbox; disableinsertobject; dispatchmessage; docwndproc; dodragdrop; dodragscroll; doverb; drawdragfeedback; enablemenuitem; enddialog; endpaint; enumformatetc; finitapplication; finitinstance; getclientrect; getcolorset; getcontainer; getcurrenttime; getdata; getdc; getextent; getmenu; getmenuitemcount; getmessage; getmoniker; getobjrect; getprofileint; getstockobject; getsubmenu; getsyscolor; globalunlock; handleaccelerators; highlightrect; hiword; initapplication; initdragfeedback; initinstance; initobject; insertobject; int; invalidaterect; killtimer; laddverbs; lcommandhandler; lcreatedoc; loadcursor; loadicon; loword; lresizedoc; lsizehandler; mainwndproc; messagebox; movewindow; offsetpoint; offsetrect; olebuildversion; oledbgout; oledbgsetdbglevel; oledraw; oleflushclipboard; oleinitialize; oleload; olequerycreatefromdata; olesave; olesetclipboard; olesetcontainedobject; olestdfree; olestdgetdropeffect; olestdgetmetafilepictfromoleobject; olestdgetobjectdescriptordatafromoleobject; olestdgetoleobjectdata; olestdinitialize; olestduninitialize; olestr; oleuiinitialize; oleuiinsertobject; oleuiuninitialize; oleuninitialize; onclose; onshowwindow; outputdebugstring; paintapp; paintdoc; paintobj; postquitmessage; querydrag; querydrop; queryinterface; realizepalette; rectangle; registerclass; registerclipboardformat; registerdragdrop; release; releasecapture; releasedc; releasestgmedium; removemenu; requestnewobjectlayout; resultfromscode; revert; revokedragdrop; rgb; safeaddref; saferelease; savecompleted; saveobject; screentoclient; scroll; selectobject; selectpalette; sendmessage; setadvise; setbottomright; setcapture; setfocus; sethostnames; setmessagequeue; setrop2; settimer; settopleft; showobject; showwindow; stabilize; stdmethodimp_; stgcreatedocfile; style; succeeded; translatemessage; undrawdragfeedback; unloadoleobject; updatewindow; warning; winmain; xformheightinhimetrictopixels; xformsizeinhimetrictopixels; xformwidthinhimetrictopixels