1 /* ----------- dflatmsg.h ------------ */
4 * message foundation file
5 * make message changes here
6 * other source files will adapt
9 /* -------------- process communication messages ----------- */
10 DFlatMsg(DFM_START
) /* start message processing */
11 DFlatMsg(DFM_STOP
) /* stop message processing */
12 DFlatMsg(DFM_COMMAND
) /* send a command to a window */
13 /* -------------- window management messages --------------- */
14 DFlatMsg(DFM_CREATE_WINDOW
) /* create a window */
15 DFlatMsg(DFM_SHOW_WINDOW
) /* show a window */
16 DFlatMsg(DFM_HIDE_WINDOW
) /* hide a window */
17 DFlatMsg(DFM_CLOSE_WINDOW
) /* delete a window */
18 DFlatMsg(DFM_SETFOCUS
) /* set and clear the focus */
19 DFlatMsg(DFM_PAINT
) /* paint the window's data space*/
20 DFlatMsg(DFM_BORDER
) /* paint the window's border */
21 DFlatMsg(DFM_TITLE
) /* display the window's title */
22 DFlatMsg(DFM_MOVE
) /* move the window */
23 DFlatMsg(DFM_DFM_SIZE
) /* change the window's size */
24 #ifdef INCLUDE_MAXIMIZE
25 DFlatMsg(DFM_MAXIMIZE
) /* maximize the window */
27 #ifdef INCLUDE_MINIMIZE
28 DFlatMsg(DFM_MINIMIZE
) /* minimize the window */
30 DFlatMsg(DFM_RESTORE
) /* restore the window */
31 DFlatMsg(DFM_INSIDE_WINDOW
) /* test x/y inside a window */
32 /* ---------------- clock messages ------------------------- */
33 DFlatMsg(DFM_CLOCKTICK
) /* the clock ticked */
34 DFlatMsg(DFM_CAPTURE_CLOCK
) /* capture clock into a window */
35 DFlatMsg(DFM_RELEASE_CLOCK
) /* release clock to the system */
36 /* -------------- keyboard and screen messages ------------- */
37 DFlatMsg(DFM_KEYBOARD
) /* key was pressed */
38 DFlatMsg(DFM_CAPTURE_KEYBOARD
) /* capture keyboard into a window */
39 DFlatMsg(DFM_RELEASE_KEYBOARD
) /* release keyboard to system */
40 DFlatMsg(DFM_KEYBOARD_CURSOR
) /* position the keyboard DfCursor */
41 DFlatMsg(DFM_CURRENT_KEYBOARD_CURSOR
) /*read the DfCursor position */
42 DFlatMsg(DFM_HIDE_CURSOR
) /* hide the keyboard DfCursor */
43 DFlatMsg(DFM_SHOW_CURSOR
) /* display the keyboard DfCursor */
44 DFlatMsg(DFM_SAVE_CURSOR
) /* save the DfCursor's configuration*/
45 DFlatMsg(DFM_RESTORE_CURSOR
) /* restore the saved DfCursor */
46 DFlatMsg(DFM_SHIFT_CHANGED
) /* the shift status changed */
47 DFlatMsg(DFM_WAITKEYBOARD
) /* waits for a key to be released */
49 /* ---------------- mouse messages ------------------------- */
50 DFlatMsg(DFM_MOUSE_TRAVEL
) /* set the mouse travel */
51 DFlatMsg(DFM_RIGHT_BUTTON
) /* right button pressed */
52 DFlatMsg(DFM_LEFT_BUTTON
) /* left button pressed */
53 DFlatMsg(DFM_DOUBLE_CLICK
) /* left button double-clicked */
54 DFlatMsg(DFM_MOUSE_MOVED
) /* mouse changed position */
55 DFlatMsg(DFM_BUTTON_RELEASED
) /* mouse button released */
56 DFlatMsg(DFM_WAITMOUSE
) /* wait until button released */
57 DFlatMsg(DFM_TESTMOUSE
) /* test any mouse button pressed*/
58 DFlatMsg(DFM_CAPTURE_MOUSE
) /* capture mouse into a window */
59 DFlatMsg(DFM_RELEASE_MOUSE
) /* release the mouse to system */
61 /* ---------------- text box messages ---------------------- */
62 DFlatMsg(DFM_ADDTEXT
) /* append text to the text box */
63 DFlatMsg(DFM_INSERTTEXT
) /* insert line of text */
64 DFlatMsg(DFM_DELETETEXT
) /* delete line of text */
65 DFlatMsg(DFM_CLEARTEXT
) /* clear the edit box */
66 DFlatMsg(DFM_SETTEXT
) /* copy text to text buffer */
67 DFlatMsg(DFM_SCROLL
) /* vertical line scroll */
68 DFlatMsg(DFM_HORIZSCROLL
) /* horizontal column scroll */
69 DFlatMsg(DFM_SCROLLPAGE
) /* vertical page scroll */
70 DFlatMsg(DFM_HORIZPAGE
) /* horizontal page scroll */
71 DFlatMsg(DFM_SCROLLDOC
) /* scroll to beginning/end */
72 /* ---------------- edit box messages ---------------------- */
73 DFlatMsg(DFM_GETTEXT
) /* get text from an edit box */
74 DFlatMsg(DFM_SETTEXTLENGTH
) /* set maximum text length */
75 /* ---------------- menubar messages ----------------------- */
76 DFlatMsg(DFM_BUILDMENU
) /* build the menu display */
77 DFlatMsg(DFM_MB_SELECTION
) /* menubar selection */
78 /* ---------------- popdown messages ----------------------- */
79 DFlatMsg(DFM_BUILD_SELECTIONS
) /* build the menu display */
80 DFlatMsg(DFM_CLOSE_POPDOWN
) /* tell parent popdown is closing */
81 /* ---------------- list box messages ---------------------- */
82 DFlatMsg(DFM_LB_SELECTION
) /* sent to parent on selection */
83 DFlatMsg(DFM_LB_CHOOSE
) /* sent when user chooses */
84 DFlatMsg(DFM_LB_CURRENTSELECTION
)/* return the current selection */
85 DFlatMsg(DFM_LB_GETTEXT
) /* return the text of selection */
86 DFlatMsg(DFM_LB_SETSELECTION
) /* sets the listbox selection */
87 /* ---------------- dialog box messages -------------------- */
88 DFlatMsg(DFM_INITIATE_DIALOG
) /* begin a dialog */
89 DFlatMsg(DFM_ENTERFOCUS
) /* tell DB control got focus */
90 DFlatMsg(DFM_LEAVEFOCUS
) /* tell DB control lost focus */
91 DFlatMsg(DFM_ENDDIALOG
) /* end a dialog */
92 /* ---------------- help box messages ---------------------- */
93 DFlatMsg(DFM_DISPLAY_HELP
)
94 /* --------------- application window messages ------------- */
95 DFlatMsg(DFM_ADDSTATUS
)
96 /* --------------- picture box messages -------------------- */
97 DFlatMsg(DFM_DRAWVECTOR
)