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.
 
 
 
 
 
 

59 lines
1.2 KiB

/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
UserList.h : header file
File History:
JonY Apr-96 created
--*/
#include "transbmp.h"
/////////////////////////////////////////////////////////////////////////////
// CUserList window
class CUserList : public CListBox
{
// Construction
public:
CUserList();
// Attributes
public:
private:
CTransBmp* m_pBitmap[7];
unsigned short m_sHScrollWidth;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CUserList)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
virtual int VKeyToItem(UINT nKey, UINT nIndex);
virtual int CompareItem(LPCOMPAREITEMSTRUCT lpCompareItemStruct);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CUserList();
int AddString(short nType, LPCTSTR lpItem);
int AddString(LPCTSTR lpItem, DWORD dwBitmap);
int GetSelType(short sSel);
CString GetGroupName(short sSel);
// Generated message map functions
protected:
//{{AFX_MSG(CUserList)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////