Answer the question
In order to leave comments, you need to log in
Why is the message map not working in C++Builder XE?
class TScheme : public TCustomControl
{
typedef TCustomControl inherited;
protected:
void __fastcall WMLButtonDown(Messages::TWMMouse &Message)
{
ShowMessage("OK");
}
BEGIN_MESSAGE_MAP
MESSAGE_HANDLER( WM_LBUTTONDOWN ,TWMMouse, WMLButtonDown );
END_MESSAGE_MAP(TScheme)
public:
__fastcall virtual TScheme( Classes::TComponent* AOwner ) : inherited( AOwner )
{
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question