Click to open or copy the files for the CrsrDemo sample.
This sample has the following parts:
File | Description |
Child.c | Contains routines that maintain a child window. These include most interfaces with ODBC, including all data retrieval and display. |
Crsrdemo.c | Main file; contains the standard functions used in a Windows program (such as WinMain), plus two functions shared between all the files. |
Dialogs.c | Contains routines used to display and manage cursors dialogs. |
Frame.c | Main window procedure; contains functions used to manage the main frame window. The frame window, created by code in Main.c, owns the MDI client window, the menu bar, and other major parts of the interface. |
This sample uses the following keywords:
_fstrncpy; _fstrnicmp; _fstrstr; _gcvt; _ltoa; aboutdlgproc; absdlgproc; addeditcontrols; adjustmenus; adjustwindowrect; aligntocontrol; allocchild; alloccliprgn; allocptr; ansinext; async; beginpaint; button_getcheck; button_setcheck; cancel; cancelsql; centerdialog; char; childoptdlgproc; childproc; classoncommand; closeall; closeallenum; closechild; conststr; controlvalue; createchild; createdialogparam; createfont; createrectrgn; createsolidbrush; createwindow; cvtsqltoctype; datadlgproc; dbcerror; defframeproc; defmdichildproc; deleteobject; deleterow; deleterowthread; destroymenu; destroywindow; dialogboxparam; dispatchmessage; dlgprocfilter; dlgx; dlgy; dochildmenu; doconnect; dodialog; dodisconnect; doframemenu; domessage; dosql; dosqlthread; drawmenubar; drawtext; edit_enable; edit_gettext; edit_limittext; edit_settext; enablemenuitem; enddialog; endinstance; endpaint; enumchildwindows; enverror; fetch; fetchthread; fillrect; finddlgproc; forward_wm_mdicascade; forward_wm_mdicreate; forward_wm_mdidestroy; forward_wm_mdigetactive; forward_wm_mdiiconarrange; forward_wm_mdinext; forward_wm_mdisetmenu; forward_wm_mditile; forward_wm_setfont; frameproc; freeprocinstance; freeptr; freestmt; get_em_setsel_mps; get_wm_command_id; get_wm_hscroll_code; get_wm_hscroll_pos; get_wm_mdiactivate_factivate; get_wm_vscroll_code; getbkcolor; getclientrect; getclipbox; getcurrentthreadid; getcurrentvalue; getdata; getdatathread; getdc; getdesktopwindow; getdevicecaps; getdialogbaseunits; getdlgctrlid; getdlgitem; geteditcontrols; getkeystate; getmenu; getmenuitemcount; getmessage; getparent; getrgnbox; getscrollpos; getscrollrange; getsubmenu; getsyscolor; getsystemmetrics; gettablename; gettextcolor; gettextextentpoint; gettextmetrics; getwindow; getwindowlong; getwindowrect; getwindowtext; globalallocptr; globalfreeptr; handle_wm_command; inflaterect; initapplication; initcontrolcallback; inithand; initializedialogcontrols; initializelistbox; initinstance; intersectrect; invalidaterect; invertrect; is_allwfetch; isblank; iscomma; isdialogmessage; islparen; ismsgwaiting; isnum; isperiod; isreturn; isrparen; istab; isupdateable; iswhite; listbox_addstring; listbox_findstringexact; listbox_getcursel; listbox_getitemdata; listbox_gettext; listbox_setcursel; listbox_setitemdata; loadaccelerators; loadcursor; loadicon; loadmenu; loadstring; lstrcat; lstrcmp; lstrcmpi; lstrcpy; lstrcpyn; lstrlen; makeintresource; makeprocinstance; maketable; maketabledlgproc; max; memcpy; messagebox; movewindow; mycreatedialog; nullifempty; odbcerror; offsetrect; ondatarow; optdlgproc; optimize; optionsdlgproc; paintchild; paramvalid; patblt; peekmessage; postmessage; postquitmessage; preparestmt; print; processresults; registerclass; reldlgproc; releasecapture; releasedc; rgb; row_binding; screentoclient; selectcliprgn; selectobject; senddlgitemmessage; sendmessage; setbkcolor; setcapture; setcurrentvalue; setcursor; setdlgtext; setfocus; sethiddenfields; setorgetcheck; setorgeteditarray; setpos; setscroll; setscrollpos; setscrollrange; settextcolor; setwindowlong; setwindoworgex; setwindowtext; showwindow; sizescroll; sqlallochandle; sqlbindcol; sqlcancel; sqlcolattribute; sqlcolattributes; sqlcolumns; sqlcreatedatasource; sqldisconnect; sqldriverconnect; sqlexecdirect; sqlexecute; sqlfetchscroll; sqlfreehandle; sqlfreestmt; sqlgetcursorname; sqlgetdata; sqlgetdiagrec; sqlgetinfo; sqlgetstmtattr; sqlgettypeinfo; sqlnumresultcols; sqlprepare; sqlprocedures; sqlrowcount; sqlsetconnectattr; sqlsetcursorname; sqlsetenvattr; sqlsetparam; sqlsetpos; sqlsetstmtattr; sqlstatistics; sqltableprivileges; sqltables; sqltablesdlgproc; static_enable; static_settext; stmtdlgproc; stmterror; strcmp; strncmp; strncpy; strtod; strtol; success; switch; tabbedtextout; tabledlgproc; textout; translateaccelerator; translatemdisysaccel; translatemessage; unref_param; updatedlgproc; updaterow; updaterowthread; updatewindow; warning; winhelp; winmain; wsprintf; wvsprintf