home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cl-lib07.zip / pm.zip / usr / include / pm / stddialog.h < prev    next >
C/C++ Source or Header  |  1995-06-27  |  962b  |  55 lines

  1. #ifndef _STDDIALOG_H_
  2. #define _STDDIALOG_H_
  3.  
  4. #ifndef _ACTIONWINDOW_H_
  5. #include <pm/ActionWindow.h>
  6. #endif
  7.  
  8. @interface StdDialog : ActionWindow <Archiving>
  9. {
  10.   ULONG   result;
  11.   BOOL    running;
  12.  
  13.   ULONG   createFlags;
  14. }
  15.  
  16. - initWithId: (ULONG) anId;
  17. - initWithId: (ULONG) anId andFlags: (ULONG) flags;
  18. - loadMenu;
  19. - free;
  20.  
  21. - (ULONG) createFlags;
  22. - setCreateFlags: (ULONG) flags;
  23.  
  24. - updateFrame;
  25.  
  26. - (ULONG) result;
  27.  
  28. - setTitle: (char *) aTitle;
  29.  
  30. - makeKeyAndOrderFront: sender;
  31. - runModalFor: sender;
  32. - dismiss: sender;
  33. - (BOOL) running;
  34.  
  35. - centerOnScreen: sender;
  36.  
  37. /*
  38.  * Methods for protocol "Archiving"
  39.  */
  40.  
  41. - awake;
  42. - read: (TypedStream *) aStream;
  43. - write: (TypedStream *) aStream;
  44.  
  45. - createInPMWindow: (HWND) hwnd;
  46.  
  47. - (MRESULT) handleMessage: (ULONG) msg
  48.             withParams: (MPARAM) mp1 and: (MPARAM) mp2;
  49.  
  50. @end
  51.  
  52. MRESULT EXPENTRY __dialogFunction (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2);
  53.  
  54. #endif
  55.