摘要: 规范的BCB过程利用Application->Run()进去消息循环,在Application的ProcessMessage措施中,利用PeekMessage措施从消息队列中提取消息,并将此消息从消息队列中移除。然后ProcessMessage措施察看是否存在Application->OnMessa 阅读全文
posted @ 2017-11-04 11:48 hanny 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 方法一、重载WndProcprivate: // User declarationsvoid __fastcall WndProc(Messages::TMessage &Message);void __fastcall TForm1::WndProc(Messages::TMessage &Mes 阅读全文
posted @ 2017-11-04 11:38 hanny 阅读(162) 评论(0) 推荐(0) 编辑