mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
29 lines
808 B
C++
29 lines
808 B
C++
#pragma once
|
|
|
|
#include "ListView.h"
|
|
|
|
namespace UIX
|
|
{
|
|
// Represents a UIX themed listview header control.
|
|
class UIXListViewHeader
|
|
{
|
|
public:
|
|
UIXListViewHeader(HWND Handle, Forms::ListView* Parent);
|
|
|
|
// The standard windows message pump for this control.
|
|
virtual void WndProc(Forms::Message& Msg);
|
|
// Invokes the default window procedure associated with this Window. It is
|
|
// an error to call this method when the Handle property is zero.
|
|
void DefWndProc(Forms::Message& Msg);
|
|
|
|
protected:
|
|
// The control handle
|
|
HWND _Handle;
|
|
|
|
// The parent listview
|
|
Forms::ListView* _Parent;
|
|
|
|
// An internal routine that is the root window message processor.
|
|
static LRESULT CALLBACK InternalWndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData);
|
|
};
|
|
} |