C
Cbfan
Unregistered / Unconfirmed
GUEST, unregistred user!
我的意思是,以前对Form1的消息截获在增加了TeThemeForm控件后不管用了。
void __fastcall TForm1::WndProc(Messages::TMessage &Message)
{
if(Message.Msg == WM_SYSCOMMAND) {
if(Message.WParam==SC_CLOSE) {
ShowMessage("这是关闭窗口事件。");
TForm::WndProc(Message);
}
}
if(Message.Msg ==WM_NCLBUTTONDBLCLK) {
ShowMessage("这是标题兰的双击事件。");
}
TForm::WndProc(Message);
}
//---------------------------------------------------------------------------
怎样应用到TeThemeForm呢????????
[]
void __fastcall TForm1::WndProc(Messages::TMessage &Message)
{
if(Message.Msg == WM_SYSCOMMAND) {
if(Message.WParam==SC_CLOSE) {
ShowMessage("这是关闭窗口事件。");
TForm::WndProc(Message);
}
}
if(Message.Msg ==WM_NCLBUTTONDBLCLK) {
ShowMessage("这是标题兰的双击事件。");
}
TForm::WndProc(Message);
}
//---------------------------------------------------------------------------
怎样应用到TeThemeForm呢????????
[]