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(CREATE_WINDOW
) /* create a window */
15 DFlatMsg(SHOW_WINDOW
) /* show a window */
16 DFlatMsg(DFM_HIDE_WINDOW
) /* hide a window */
17 DFlatMsg(CLOSE_WINDOW
) /* delete a window */
18 DFlatMsg(SETFOCUS
) /* set and clear the focus */
19 DFlatMsg(PAINT
) /* paint the window's data space*/
20 DFlatMsg(BORDER
) /* paint the window's border */
21 DFlatMsg(TITLE
) /* display the window's title */
22 DFlatMsg(MOVE
) /* move the window */
23 DFlatMsg(DFM_SIZE
) /* change the window's size */
24 #ifdef INCLUDE_MAXIMIZE
25 DFlatMsg(MAXIMIZE
) /* maximize the window */
27 #ifdef INCLUDE_MINIMIZE
28 DFlatMsg(MINIMIZE
) /* minimize the window */
30 DFlatMsg(RESTORE
) /* restore the window */
31 DFlatMsg(INSIDE_WINDOW
) /* test x/y inside a window */
32 /* ---------------- clock messages ------------------------- */
33 DFlatMsg(CLOCKTICK
) /* the clock ticked */
34 DFlatMsg(CAPTURE_CLOCK
) /* capture clock into a window */
35 DFlatMsg(RELEASE_CLOCK
) /* release clock to the system */
36 /* -------------- keyboard and screen messages ------------- */
37 DFlatMsg(KEYBOARD
) /* key was pressed */
38 DFlatMsg(CAPTURE_KEYBOARD
) /* capture keyboard into a window */
39 DFlatMsg(RELEASE_KEYBOARD
) /* release keyboard to system */
40 DFlatMsg(KEYBOARD_CURSOR
) /* position the keyboard cursor */
41 DFlatMsg(CURRENT_KEYBOARD_CURSOR
) /*read the cursor position */
42 DFlatMsg(HIDE_CURSOR
) /* hide the keyboard cursor */
43 DFlatMsg(SHOW_CURSOR
) /* display the keyboard cursor */
44 DFlatMsg(SAVE_CURSOR
) /* save the cursor's configuration*/
45 DFlatMsg(RESTORE_CURSOR
) /* restore the saved cursor */
46 DFlatMsg(SHIFT_CHANGED
) /* the shift status changed */
47 DFlatMsg(WAITKEYBOARD
) /* waits for a key to be released */
49 /* ---------------- mouse messages ------------------------- */
50 DFlatMsg(MOUSE_TRAVEL
) /* set the mouse travel */
51 DFlatMsg(RIGHT_BUTTON
) /* right button pressed */
52 DFlatMsg(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(WAITMOUSE
) /* wait until button released */
57 DFlatMsg(TESTMOUSE
) /* test any mouse button pressed*/
58 DFlatMsg(CAPTURE_MOUSE
) /* capture mouse into a window */
59 DFlatMsg(RELEASE_MOUSE
) /* release the mouse to system */
61 /* ---------------- text box messages ---------------------- */
62 DFlatMsg(ADDTEXT
) /* append text to the text box */
63 DFlatMsg(INSERTTEXT
) /* insert line of text */
64 DFlatMsg(DELETETEXT
) /* delete line of text */
65 DFlatMsg(CLEARTEXT
) /* clear the edit box */
66 DFlatMsg(SETTEXT
) /* copy text to text buffer */
67 DFlatMsg(SCROLL
) /* vertical line scroll */
68 DFlatMsg(HORIZSCROLL
) /* horizontal column scroll */
69 DFlatMsg(SCROLLPAGE
) /* vertical page scroll */
70 DFlatMsg(HORIZPAGE
) /* horizontal page scroll */
71 DFlatMsg(SCROLLDOC
) /* scroll to beginning/end */
72 /* ---------------- edit box messages ---------------------- */
73 DFlatMsg(GETTEXT
) /* get text from an edit box */
74 DFlatMsg(SETTEXTLENGTH
) /* set maximum text length */
75 /* ---------------- menubar messages ----------------------- */
76 DFlatMsg(BUILDMENU
) /* build the menu display */
77 DFlatMsg(MB_SELECTION
) /* menubar selection */
78 /* ---------------- popdown messages ----------------------- */
79 DFlatMsg(BUILD_SELECTIONS
) /* build the menu display */
80 DFlatMsg(CLOSE_POPDOWN
) /* tell parent popdown is closing */
81 /* ---------------- list box messages ---------------------- */
82 DFlatMsg(LB_SELECTION
) /* sent to parent on selection */
83 DFlatMsg(LB_CHOOSE
) /* sent when user chooses */
84 DFlatMsg(LB_CURRENTSELECTION
)/* return the current selection */
85 DFlatMsg(DFM_LB_GETTEXT
) /* return the text of selection */
86 DFlatMsg(LB_SETSELECTION
) /* sets the listbox selection */
87 /* ---------------- dialog box messages -------------------- */
88 DFlatMsg(INITIATE_DIALOG
) /* begin a dialog */
89 DFlatMsg(ENTERFOCUS
) /* tell DB control got focus */
90 DFlatMsg(LEAVEFOCUS
) /* tell DB control lost focus */
91 DFlatMsg(ENDDIALOG
) /* end a dialog */
92 /* ---------------- help box messages ---------------------- */
93 DFlatMsg(DISPLAY_HELP
)
94 /* --------------- application window messages ------------- */
96 /* --------------- picture box messages -------------------- */