home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / drdobbs / 1991 / 08 / dflat5 / dflatmsg.h < prev    next >
Text File  |  1991-06-21  |  5KB  |  91 lines

  1. /* ----------- dflatmsg.h ------------ */
  2.  
  3. /*
  4.  * message foundation file
  5.  * make message changes here
  6.  * other source files will adapt
  7.  */
  8.  
  9. /* ------------- process communication messages --------- */
  10. DFlatMsg(START)              /* start message processing       */
  11. DFlatMsg(STOP)               /* stop message processing        */
  12. DFlatMsg(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(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(SIZE)               /* change the window's size       */
  24. DFlatMsg(MAXIMIZE)           /* maximize the window            */
  25. DFlatMsg(MINIMIZE)           /* minimize the window            */
  26. DFlatMsg(RESTORE)            /* restore the window             */
  27. DFlatMsg(INSIDE_WINDOW)      /* test x/y inside a window       */
  28. /* ------------- clock messages ------------------------- */
  29. DFlatMsg(CLOCKTICK)          /* the clock ticked               */
  30. DFlatMsg(CAPTURE_CLOCK)      /* capture clock into a window    */
  31. DFlatMsg(RELEASE_CLOCK)      /* release clock to the system    */
  32. /* ------------- keyboard and screen messages ----------- */
  33. DFlatMsg(KEYBOARD)           /* key was pressed                */
  34. DFlatMsg(CAPTURE_KEYBOARD)   /* capture keyboard into a window */
  35. DFlatMsg(RELEASE_KEYBOARD)   /* release keyboard to system     */
  36. DFlatMsg(KEYBOARD_CURSOR)    /* position the keyboard cursor   */
  37. DFlatMsg(CURRENT_KEYBOARD_CURSOR) /*read the cursor position   */
  38. DFlatMsg(HIDE_CURSOR)        /* hide the keyboard cursor       */
  39. DFlatMsg(SHOW_CURSOR)        /* display the keyboard cursor    */
  40. DFlatMsg(SAVE_CURSOR)        /* save the cursor's configuration*/
  41. DFlatMsg(RESTORE_CURSOR)     /* restore the saved cursor       */
  42. DFlatMsg(SHIFT_CHANGED)      /* the shift status changed       */
  43. DFlatMsg(WAITKEYBOARD)       /* waits for a key to be released */
  44. /* ------------- mouse messages ------------------------- */
  45. DFlatMsg(MOUSE_INSTALLED)    /* test for mouse installed       */
  46. DFlatMsg(RIGHT_BUTTON)       /* right button pressed           */
  47. DFlatMsg(LEFT_BUTTON)        /* left button pressed            */
  48. DFlatMsg(DOUBLE_CLICK)       /* left button double-clicked     */
  49. DFlatMsg(MOUSE_MOVED)        /* mouse changed position         */
  50. DFlatMsg(BUTTON_RELEASED)    /* mouse button released          */
  51. DFlatMsg(CURRENT_MOUSE_CURSOR)/* get mouse position            */
  52. DFlatMsg(MOUSE_CURSOR)       /* set mouse position             */
  53. DFlatMsg(SHOW_MOUSE)         /* make mouse cursor visible      */
  54. DFlatMsg(HIDE_MOUSE)         /* hide mouse cursor              */
  55. DFlatMsg(WAITMOUSE)          /* wait until button released     */
  56. DFlatMsg(TESTMOUSE)          /* test any mouse button pressed  */
  57. DFlatMsg(CAPTURE_MOUSE)      /* capture mouse into a window    */
  58. DFlatMsg(RELEASE_MOUSE)      /* release the mouse to system    */
  59. /* ------------- text box messages ---------------------- */
  60. DFlatMsg(ADDTEXT)            /* add text to the text box       */
  61. DFlatMsg(CLEARTEXT)          /* clear the edit box             */
  62. DFlatMsg(SETTEXT)            /* set address of text buffer     */
  63. DFlatMsg(SCROLL)             /* vertical scroll of text box    */
  64. DFlatMsg(HORIZSCROLL)        /* horizontal scroll of text box  */
  65. /* ------------- edit box messages ---------------------- */
  66. DFlatMsg(EB_GETTEXT)         /* get text from an edit box      */
  67. DFlatMsg(EB_PUTTEXT)         /* put text into an edit box      */
  68. /* ------------- menubar messages ----------------------- */
  69. DFlatMsg(BUILDMENU)          /* build the menu display         */
  70. DFlatMsg(SELECTION)          /* menubar selection              */
  71. /* ------------- popdown messages ----------------------- */
  72. DFlatMsg(BUILD_SELECTIONS)   /* build the menu display         */
  73. DFlatMsg(CLOSE_POPDOWN)      /* tell parent popdown is closing */
  74. /* ------------- list box messages ---------------------- */
  75. DFlatMsg(LB_SELECTION)       /* sent to parent on selection    */
  76. DFlatMsg(LB_CHOOSE)          /* sent when user chooses         */
  77. DFlatMsg(LB_CURRENTSELECTION)/* return the current selection   */
  78. DFlatMsg(LB_GETTEXT)         /* return the text of selection   */
  79. DFlatMsg(LB_SETSELECTION)    /* sets the listbox selection     */
  80. /* ------------- dialog box messages -------------------- */
  81. DFlatMsg(INITIATE_DIALOG)    /* begin a dialog                 */
  82. DFlatMsg(ENTERFOCUS)         /* tell DB control got focus      */
  83. DFlatMsg(LEAVEFOCUS)         /* tell DB control lost focus     */
  84. DFlatMsg(ENDDIALOG)          /* end a dialog                   */
  85. /* ------------- help box messages ---------------------- */
  86. DFlatMsg(DISPLAY_HELP)
  87. /* ------------ application window messages ------------- */
  88. DFlatMsg(ADDSTATUS)
  89.  
  90.  
  91.