Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. WizList.h : header file
  5. File History:
  6. JonY Jan-96 created
  7. --*/
  8. #include <winnetwk.h>
  9. #include <shlobj.h>
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CWizList window
  12. class CWizList : public CListBox
  13. {
  14. // Construction
  15. public:
  16. CWizList();
  17. // Attributes
  18. public:
  19. CWizList* m_pOtherGuy;
  20. void PumpMessages();
  21. // Operations
  22. public:
  23. private:
  24. BOOL LaunchPrinterWizard();
  25. HRESULT GetAddPrinterObject(LPSHELLFOLDER pshf, LPITEMIDLIST* ppidl);
  26. CFont* m_pFont;
  27. CFont* m_pFontBold;
  28. BOOL m_bSignalled;
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CWizList)
  32. public:
  33. virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  34. virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. public:
  38. virtual ~CWizList();
  39. // Generated message map functions
  40. protected:
  41. //{{AFX_MSG(CWizList)
  42. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  43. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  44. afx_msg void OnSetfocus();
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. private:
  48. HMODULE m_hPrinterLib;
  49. };
  50. /////////////////////////////////////////////////////////////////////////////