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

  1. /**************************************************************************
  2.    THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  3.    ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  4.    THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  5.    PARTICULAR PURPOSE.
  6.  
  7.    Copyright 1997 Microsoft Corporation.  All Rights Reserved.
  8. **************************************************************************/
  9.  
  10. #include "resource.h"
  11.  
  12. #ifndef WIN32
  13.  
  14. #define GET_WM_COMMAND_ID(wp, lp)               (wp)
  15. #define GET_WM_COMMAND_HWND(wp, lp)             (HWND)(LOWORD(lp))
  16. #define GET_WM_COMMAND_CMD(wp, lp)              HIWORD(lp)
  17.  
  18. #endif
  19.  
  20. int PASCAL WinMain(HINSTANCE, HINSTANCE, LPSTR, int);
  21. BOOL InitApplication(HINSTANCE);
  22. BOOL InitInstance(HINSTANCE, int);
  23. LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);
  24. BOOL CALLBACK AboutDlgProc(HWND, UINT, WPARAM, LPARAM);
  25. HWND CreateListView(HINSTANCE, HWND);
  26. void ResizeListView(HWND, HWND);
  27. BOOL InitListView(HWND);
  28.  
  29. #define ID_LISTVIEW  2000