|
I guess the next step is to ask how to intercept this message and answer it in advance.
In the unit file .h:
private: // User declarations
void __fastcall WndProc (TMessage&Msg);
In the unit file .cpp:
void __fastcall TForm1 :: WndProc (TMessage&Msg)
{
if (Msg.Msg == WM_NCLBUTTONDBLCLK)
{
ShowMessage ("It looks like I double-clicked the title bar");
// If you don't want the title bar to respond to this double-click message, add the following sentence
// return;
}
TForm :: WndProc (Msg);
} |
|