線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1225
推到 Plurk!
推到 Facebook!

win32 api說明中有些參數是以Null代入,在delphi 呼叫時要用什麼代替null?

答題得分者是:ha0009
ry_lee
高階會員


發表:368
回覆:251
積分:123
註冊:2002-03-19

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-09-02 20:21:52 IP:203.70.xxx.xxx 未訂閱
如主題.
ha0009
版主


發表:16
回覆:507
積分:639
註冊:2002-03-16

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-09-02 21:43:01 IP:61.56.xxx.xxx 未訂閱
你好:     Null = 0    
cmf
尊榮會員


發表:84
回覆:918
積分:1032
註冊:2002-06-26

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-09-03 08:57:52 IP:61.218.xxx.xxx 未訂閱
NIL;
------
︿︿
ha0009
版主


發表:16
回覆:507
積分:639
註冊:2002-03-16

發送簡訊給我
#4 引用回覆 回覆 發表時間:2003-09-03 09:13:39 IP:61.30.xxx.xxx 未訂閱
你好:     補充說明,以下列宣告為例,如果屬於指標型態可用 nil 或 0 帶入, 如果是數值型態則僅能帶入 0 。 API 原型宣告 int MessageBox( HWND hWnd, // handle of owner window LPCTSTR lpText, // address of text in message box LPCTSTR lpCaption, // address of title of message box UINT uType // style of message box ); Parameters hWnd Identifies the owner window of the message box to be created. If this parameter is NULL, the message box has no owner window. lpText Points to a null-terminated string containing the message to be displayed. lpCaption Points to a null-terminated string used for the dialog box title. If this parameter is NULL, the default title Error is used. uType Specifies a set of bit flags that determine the contents and behavior of the dialog box. This parameter can be a combination of flags from the following groups of flags. Specify one of the following flags to indicate the buttons contained in the message box: Delphi 宣告 function MessageBox( hWnd: HWND; lpText, lpCaption: PChar; uType: UINT): Integer; stdcall;
系統時間:2024-05-05 2:41:26
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!