home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Graphics / Graphics.zip / bmviewer.zip / WorkerThread.h < prev   
Text File  |  2000-06-27  |  586b  |  29 lines

  1. typedef struct _WRKRPARAMS
  2. {
  3.    HWND hwndAppFrame;
  4.    HWND hwndCanvas;
  5.    int argc;
  6.    char **argv;
  7. }WRKRPARAMS, *PWRKRPARAMS;
  8.  
  9.  
  10.  
  11.  
  12. /*
  13.  * Worker thread messages
  14.  * These are posted *to* the worker thread
  15.  */
  16. #define WTMSG_LOAD_BITMAP                WM_USER+1
  17. #define WTMSG_SET_HORZ_ALIGNMENT         WM_USER+2
  18. #define WTMSG_SET_VERT_ALIGNMENT         WM_USER+3
  19.  
  20.  
  21. /*
  22.  * Outgoing worker thread messages
  23.  * These are sent/posted FROM the worker thread
  24.  */
  25. /*
  26. #define WMU_WORKERTHREAD_NOTIFICATION    WM_USER+0x1000
  27. #define INIT_HMQ                         1
  28. */
  29.