Tremorblue
Programmer
I want to know when the scroll bar on a form is moved so I can perform and update.
I am using code similar to this to capture the event
In the header file.
void virtual __fastcall WMVScroll( TMessage &Message );
BEGIN_MESSAGE_MAP
MESSAGE_HANDLER(WM_VSCROLL,TMessage,WMVScroll)
END_MESSAGE_MAP(TForm);
I call the function in the main CPP file.
void __fastcall TFormLabel::WMVScroll( TMessage &Message )
{}
The problem is that this captures the event and the scroll bar does not move.
I want to know the event has occured but not effect it.
Any help much appreciated.
/Tremor.
I am using code similar to this to capture the event
In the header file.
void virtual __fastcall WMVScroll( TMessage &Message );
BEGIN_MESSAGE_MAP
MESSAGE_HANDLER(WM_VSCROLL,TMessage,WMVScroll)
END_MESSAGE_MAP(TForm);
I call the function in the main CPP file.
void __fastcall TFormLabel::WMVScroll( TMessage &Message )
{}
The problem is that this captures the event and the scroll bar does not move.
I want to know the event has occured but not effect it.
Any help much appreciated.
/Tremor.