home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / classlib.zip / pm.zip / usr / include / pm / stddialog.h < prev    next >
C/C++ Source or Header  |  1994-08-31  |  569b  |  33 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
  9. {
  10.   id      delegate;
  11.   ULONG   result;
  12. }
  13.  
  14. - initWithId: (ULONG) anId;
  15. - loadMenu;
  16. - free;
  17.  
  18. - delegate;
  19. - setDelegate: aDelegate;
  20. - (ULONG) result;
  21.  
  22. - makeKeyAndOrderFront: sender;
  23. - runModalFor: sender;
  24.  
  25. - (MRESULT) handleMessage: (ULONG) msg
  26.             withParams: (MPARAM) mp1 and: (MPARAM) mp2;
  27.  
  28. @end
  29.  
  30. MRESULT EXPENTRY __dialogFunction (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2);
  31.  
  32. #endif
  33.