Click to open or copy the files for the Simple.frm sample.
Click to open or copy the common files (required).
The Simple.frm sample application illustrates writing a MAPI form in C++. The form can be used by form-aware mail clients for sending or receiving messages of IPM.Note.Sample.Simple message class instead of standard send/read forms.
This sample uses the following keywords:
activatenext; addref; address; advise; assert; begindeferwindowpos; cbaseform; cbnewadrlist; cclassfactory; cleardirty; clearwindow; configmenu; configwinmenu; copymemory; copymessage; copyto; coregisterclassobject; createdialog; createinstance; createwindow; ctl3d_autosubclass; ctl3d_initialize; ctl3d_uninitialize; debugtrace; debugtraceproblems; deferwindowpos; define_guid; defwindowproc; deinitobjects; deletemessage; destroywindow; dispatchmessage; displaymessage; docopy; dodelete; domove; donext; doreply; dosave; dosubmit; doverb; edit_getmodify; edit_gettext; edit_setmodify; edit_settext; enablemenuitem; enddeferwindowpos; exitinstance; failed; fgetfoldchooser; filetimetolocalfiletime; filetimetosystemtime; findatom; formattime; formdlgprocread; formdlgprocsend; freelibrary; freepadrlist; get_wm_command_cmd; get_wm_command_hwnd; get_wm_command_id; getclassid; getdlgitem; getlasterror; getmenu; getmessage; getnext; getparent; getprocaddress; getprops; getscode; getsession; getsitestatus; getsystemmetrics; getversion; getviewcontext; getviewstatus; getwindowlong; getwindowrect; getwindowtext; getwindowtextlength; globaladdatom; globaldeleteatom; handle_wm_size; hr_failed; hr_succeeded; hrgetlasterror; hrgetmsgdatafrommsg; hrgetmsgdatafromui; hropenform; hrqueryallrows; hrquerysave; hrreply; hrsaveinto; hrsavetostring; hrsetlasterror; hrstreaminmsgbody; hrstreamoutmsgbody; initapplication; initialize; initinstance; initnew; isaddressed; ischild; isdialogmessage; isdirty; load; loadaccelerators; loadcursor; loadicon; loadlibrary; lockserver; lstrcat; lstrcmpi; lstrcpyn; lstrlen; makeintresource; mapi_getlasterror_method; mapi_imapiform_methods; mapi_imapiformadvisesink_methods; mapi_ipersistmessage_methods; mapi_iunknown_methods; mapiallocatebuffer; mapiallocatemore; mapifreebuffer; mapiuninitialize; message; messagebox; modifyrecipients; movemessage; movewindow; msgsite; newmessage; objdestroyedcallback; offsetrect; on_size; onactivatenext; onchange; onnewmessage; onprint; onsaved; onsubmitted; openaddressbook; openproperty; postquitmessage; prop_type; queryinterface; registerclassex; release; resultfromscode; save; savecompleted; savemessage; scaddconversationindex; sendmessage; setadvisesink; setdlgitemtext; seterrormode; setfocus; setforegroundwindow; setminsize; setprops; setviewcontext; setwindowlong; setwindowpos; setwindowtext; showerror; showmessagebox; showwindow; shutdownform; sizedsproptagarray; stat; stdmethod; stdmethod_; stdmethodimp_; str; submitmessage; switch; translateaccelerator; translatemessage; ulrelease; unadvise; updaterecipientsdisplay; viewctx; warning; winmain; wndprocform; wndprocmain; wsprintf; zeromemory