home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / classlib.zip / pm.zip / usr / include / pm / stdwindow.h < prev    next >
C/C++ Source or Header  |  1994-08-31  |  625b  |  35 lines

  1. #ifndef _STDWINDOW_H_
  2. #define _STDWINDOW_H_
  3.  
  4. #ifndef _ACTIONWINDOW_H_
  5. #include <ActionWindow.h>
  6. #endif
  7.  
  8. @interface StdWindow : ActionWindow
  9. {
  10.   HWND       frame;
  11.   id         delegate;
  12. }
  13.  
  14. - initWithId: (ULONG) anId;
  15. - initWithId: (ULONG) anId andFlags: (ULONG) flags;
  16. - free;
  17.  
  18. - setSize: (USHORT) x : (USHORT) y : (USHORT) w : (USHORT) h;
  19.  
  20. - (HWND) frame;
  21. - delegate;
  22. - setDelegate: aDelegate;
  23.  
  24. - setTitle: (char *) aTitle;
  25.  
  26. - makeKeyAndOrderFront: sender;
  27. - performClose: sender;
  28.  
  29. - (MRESULT) handleMessage: (ULONG) msg
  30.             withParams: (MPARAM) mp1 and: (MPARAM) mp2;
  31.  
  32. @end
  33.  
  34. #endif
  35.