![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
基礎
星際訪客
計算機相關應用
展开
-
(delphi)Perform,SendMessage,PostMessage三者區別
(delphi)Perform,SendMessage,PostMessage三者區別Perform(): VCL的Perform()方法適用於所有的TControl派生對象。 Perform()可以向任何一個窗件或控件發送消息,只需要知道窗體或控件的實例。 Perform()需要傳遞3個參數:消息標識符,wParam和lParam。要給一個窗件或控件發送一個消息,可以參照下面转载 2013-08-24 02:23:12 · 4659 阅读 · 0 评论 -
Perform()與SendMessage()的不同
就像Windows發送消息給應用程序一樣,也可以有窗口與控件之間發送消息。C++ Builder提供了幾種在一個應用程序內部發送消息的方式:調用Perform()(這種方式不依靠于Windows API),以及調用SendMessage(),PostMessage() API函數 Perform() VCL的Perform()方法適用于所有的TControl派生對象。Pe转载 2013-08-24 02:30:30 · 925 阅读 · 0 评论 -
Delphi自帶的API函數/控件和Windows API【菜鳥必知!】
出處 : http://hi.baidu.com/flow0214/item/8c8dfa094bc8ece2f45ba641什麼是API函數 Win32 API即為Windows應用程序編程接口(Application Programming Interface)。所有在Win32平台上運行的應用程序都可以調用這些函數。 早期的PC機內存非常少,Windows的設計者转载 2013-11-01 23:33:31 · 1909 阅读 · 0 评论 -
[Delphi] if 判斷式的陷阱
出處 : http://codingma.blogspot.tw/2012/06/delphi-if.htmlfunction example(IntA, IntB, Check: Integer;): Boolean;var Rate: Double;begin Result := False; Rate := IntA / IntB; if Rate * 100 >转载 2013-11-04 09:32:10 · 975 阅读 · 0 评论