mirror of https://github.com/tongzx/nt5src
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.
47 lines
624 B
47 lines
624 B
typedef struct _GAUGEVALS {
|
|
int curValue;
|
|
int minValue;
|
|
int maxValue;
|
|
POINT base;
|
|
POINT top;
|
|
HWND handle;
|
|
struct _GAUGEVALS *next;
|
|
} GAUGEVALS, *PGAUGEVALS;
|
|
|
|
BOOL
|
|
RegisterGauge(
|
|
HINSTANCE hInstance
|
|
);
|
|
|
|
HWND
|
|
CreateGauge(
|
|
HWND parent,
|
|
HINSTANCE hInstance,
|
|
INT x,
|
|
INT y,
|
|
INT width,
|
|
INT height,
|
|
INT minVal,
|
|
INT maxVal
|
|
);
|
|
|
|
|
|
VOID
|
|
DestroyGauge(
|
|
HWND GaugeHandle
|
|
);
|
|
|
|
|
|
LRESULT CALLBACK GaugeWndProc(
|
|
HWND hWnd,
|
|
UINT message,
|
|
WPARAM uParam,
|
|
LPARAM lParam
|
|
);
|
|
|
|
VOID
|
|
UpdateGauge(
|
|
HWND handle,
|
|
INT value
|
|
);
|
|
|