home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / windiff / view.h < prev    next >
C/C++ Source or Header  |  1997-10-05  |  2KB  |  45 lines

  1.  
  2. /******************************************************************************\
  3. *       This is a part of the Microsoft Source Code Samples. 
  4. *       Copyright (C) 1993-1997 Microsoft Corporation.
  5. *       All rights reserved. 
  6. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12. /*
  13.  * VIEW.H
  14.  */
  15.  
  16. /* view.h includes the term COMPLIST: complist.h uses the term VIEW.
  17.  */
  18. #ifndef INC_VIEW_COMPLIST
  19. #define INC_VIEW_COMPLIST
  20. typedef struct view FAR * VIEW;                 /* handle to a VIEW     */
  21. typedef struct complist FAR * COMPLIST;         /* handle to a complist */
  22. #endif // INC_VIEW_COMPLIST
  23.  
  24. VIEW view_new(HWND hwndTable);
  25. BOOL view_setcomplist(VIEW view, COMPLIST cl);
  26. COMPLIST view_getcomplist(VIEW view);
  27. void view_close(VIEW view);
  28. void view_delete(VIEW view);
  29. LPSTR view_gettext(VIEW view, long row, int col);
  30. int view_getlinenr_left(VIEW view, long row);
  31. int view_getlinenr_right(VIEW view, long row);
  32. int view_getwidth(VIEW view, int col);
  33. long view_getrowcount(VIEW view);
  34. int view_getstate(VIEW view, long row);
  35. BOOL view_expand(VIEW view, long row);
  36. void view_outline(VIEW);
  37. COMPITEM view_getitem(VIEW view, long row);
  38. BOOL view_isexpanded(VIEW view);        
  39. LPSTR view_getcurrenttag(VIEW view);
  40. BOOL view_newitem(VIEW view);
  41. void view_changeviewoptions(VIEW view);
  42. void view_changediffoptions(VIEW view);
  43. long view_findchange(VIEW view, long startrow, BOOL bForward);
  44.  
  45.