Leaked source code of windows server 2003
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.
|
|
// DUIListView
// Class definition
class DUIListView : public HWNDHost { public: static HRESULT Create(OUT Element** ppElement) { return Create(AE_MouseAndKeyboard, NULL, ppElement); } static HRESULT Create(UINT nActive, OUT Element** ppElement) { return Create(nActive, NULL, ppElement); } static HRESULT Create(UINT nActive, HWND hwndListView, OUT Element** ppElement);
// System events
virtual void OnInput(InputEvent* pie);
virtual UINT MessageCallback(GMSG* pGMsg);
// ClassInfo accessors (static and virtual instance-based)
static IClassInfo* Class; virtual IClassInfo* GetClassInfo() { return Class; } static HRESULT Register();
void DetachListview();
DUIListView() { } ~DUIListView(); HRESULT Initialize(UINT nActive, HWND hwndListView) { m_hwndListview = hwndListView; return HWNDHost::Initialize(HHC_CacheFont | HHC_NoMouseForward, nActive); }
virtual HWND CreateHWND(HWND hwndParent);
private:
HWND m_hwndParent; HWND m_hwndLVOrgParent; HWND m_hwndListview; BOOL m_bClientEdge; };
|