home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dho.zip / DHO / INCLUDE / PMUTILS.H < prev    next >
C/C++ Source or Header  |  1995-09-03  |  778b  |  28 lines

  1. /****************************************/
  2. /*    Developer Helper Object Set       */
  3. /*  (C) 1994-95 Thomas E. Bednarz, Jr.  */
  4. /*     All rights reserved              */
  5. /***************************************/
  6.  
  7. /* $Id: pmutils.h 1.2 1995/08/13 03:21:12 teb Exp $ */
  8.  
  9. #ifndef __PMUTILS_H__
  10. #define __PMUTILS_H__
  11.  
  12. #define INCL_DOSMODULEMGR
  13. #define INCL_WIN
  14. #include <os2.h>
  15.  
  16. #include<window.h>
  17.  
  18. void createPopupMenu(TWindow *parent, ULONG resource, ULONG selection);
  19. void setModule(char *modName);
  20. HMODULE getResHMODULE();
  21.  
  22. // presentation manager window placement
  23. void getDefWindowPosition(ULONG &x, ULONG &y);
  24. void getDefWindowSize(ULONG &width, ULONG &height);
  25. void getDefWindowPlacement(ULONG &x, ULONG &y, ULONG &width, ULONG &height);
  26.  
  27. #endif
  28.