20 lines
713 B
C++
20 lines
713 B
C++
// ---------------------------------------------------------------------------
|
|
#include <Vcl.h>
|
|
#ifndef UMTrackBarUnitH
|
|
#define UMTrackBarUnitH
|
|
// ---------------------------------------------------------------------------
|
|
namespace UMTrackBarUnit {
|
|
class TTrackBar : public Vcl::Comctrls::TTrackBar {
|
|
protected:
|
|
MESSAGE void __fastcall UMTrackBarLButtonUp(TWMMouse &Message);
|
|
MESSAGE void __fastcall UMTrackBarLButtonDown(TWMMouse &Message);
|
|
|
|
BEGIN_MESSAGE_MAP
|
|
VCL_MESSAGE_HANDLER(WM_LBUTTONDOWN, TWMLButtonUp,UMTrackBarLButtonUp);
|
|
VCL_MESSAGE_HANDLER(WM_LBUTTONUP, TWMLButtonUp,UMTrackBarLButtonUp);
|
|
END_MESSAGE_MAP(Vcl::Comctrls::TTrackBar);
|
|
};
|
|
}
|
|
using namespace UMTrackBarUnit;
|
|
#endif
|