home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / msj / msjv3_3 / windebug / debug.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-03-02  |  1.7 KB  |  61 lines

  1. /*
  2. Microsoft Systems Journal
  3. Volume 3; Issue 3; May, 1988
  4.  
  5. Code Listings For:
  6.  
  7.     DEBUG & BUGTEST
  8.     pp. 64-72
  9.  
  10.  
  11. Author(s): Kevin P. Welch
  12. Title:     Debug Microsoft Windows Programs More Effectively with a 
  13.            Simple Utility
  14.  
  15.  
  16.  
  17. Code Listings NOT INCLUDED in Article (referred to on page 66, middle column)
  18.  
  19. */
  20.  
  21.  
  22. /*
  23.  * WINDOWS 2.00 DEBUG UTILITY - HEADER FILE (DEBUG.H)
  24.  *
  25.  * LANGUAGE : Microsoft C 5.0
  26.  * MODEL    : small or medium
  27.  * STATUS   : operational
  28.  *
  29.  * 12/11/87 1.00 - Kevin P. Welch - initial creation.
  30.  *
  31.  */
  32.  
  33. /* debug control panel constants */
  34. #define    BUG_OFF        100    /* debug inactive */
  35. #define    BUG_ON        101    /* debug active */
  36. #define    BUG_COUNT    102    /* count debug events */
  37. #define    BUG_DISPLAY    103    /* display debug events */
  38. #define    BUG_FILTER    104    /* filter debug events */
  39. #define    BUG_FILTERLIST    105    /* debug filter list */
  40. #define    BUG_LOG        106    /* log debug events */
  41. #define    BUG_LOGFILE    107    /* debug log file */
  42. #define    BUG_OK        108    /* OK button */
  43. #define    BUG_CANCEL    109    /* CANCEL button */
  44.  
  45. /* default dialog box definitions */
  46. #define    DEF_BUTTON    (BS_DEFPUSHBUTTON|WS_TABSTOP|WS_CHILD)
  47.  
  48. /* standard dialog box definitions */
  49. #define    STD_FRAME    (SS_BLACKFRAME|WS_CHILD)
  50. #define    STD_CHECKBOX    (BS_CHECKBOX|WS_TABSTOP|WS_CHILD)
  51. #define    STD_BUTTON    (BS_PUSHBUTTON|WS_TABSTOP|WS_CHILD)
  52. #define    STD_RADIO    (BS_RADIOBUTTON|WS_TABSTOP|WS_CHILD)
  53. #define    STD_EDITFIELD    (WS_BORDER|WS_TABSTOP|WS_CHILD|
  54.                 ES_AUTOHSCROLL)
  55.  
  56. /* debug function definitions */
  57. BOOL FAR          Debug();
  58. BOOL FAR PASCAL DebugControl( HWND );
  59. BOOL FAR PASCAL DebugSetup( HWND, WORD, WORD );
  60. BOOL FAR PASCAL DebugControlDlgFn( HWND, WORD, WORD, LONG );
  61.