home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / msj / msjv4_5 / wfinder / wfinder.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-06-22  |  1.2 KB  |  36 lines

  1. /*
  2.  * WINDOWS FILE FINDER UTILITY - HEADER FILE
  3.  *
  4.  * LANGUAGE : Microsoft C 5.1
  5.  * TOOLKIT  : Windows 2.10 SDK
  6.  * MODEL    : Small or Medium
  7.  * STATUS   : Operational
  8.  *
  9.  * 07/21/88 - Kevin P. Welch - initial creation.
  10.  *
  11.  */
  12.  
  13. /* general programming extensions */
  14. #define  ID(x)             GetWindowWord(x,GWW_ID)
  15. #define PARENT(x)       GetWindowWord(x,GWW_HWNDPARENT)
  16. #define INSTANCE(x)     GetWindowWord(x,GWW_HINSTANCE)
  17.  
  18. /* system menu definitions */
  19. #define  SC_ABOUT          0x0001   /* about command */
  20.  
  21. /* dialog box definitions */
  22. #define  ID_PATTERN        100      /* file search string */
  23. #define  ID_DRIVES         101      /* disk drive list */
  24. #define  ID_FILES          102      /* filename list */
  25. #define  ID_SEARCH         103      /* search button */
  26. #define  ID_RUN            104      /* run button */
  27. #define  ID_QUIT           105      /* quit button */
  28.  
  29. /* function definitions */
  30. BOOL FAR PASCAL   Present( PSTR, PSTR );
  31. BOOL FAR PASCAL   CenterPopup( HWND, HWND );
  32. BOOL FAR PASCAL   Directory( PSTR, WORD, HWND );
  33. BOOL FAR PASCAL   Dialog( HWND, LPSTR, FARPROC );
  34. BOOL FAR PASCAL   AboutDlgFn( HWND, WORD, WORD, LONG );
  35. BOOL FAR PASCAL   FinderDlgFn( HWND, WORD, WORD, LONG );
  36.