指定のウィンドウに関連したヘルプコンテキストIDを取得
Declare Function GetWindowContextHelpId Lib "user32.dll" _
(ByVal hWnd As Long) As Long
Declare Function GetWindowContextHelpId Lib "user32.dll" _
(ByVal hWnd As Integer) As Integer
DWORD GetWindowContextHelpId(
HWND hwnd
);
引数
hWnd
ウィンドウのハンドル戻り値
正常終了のとき ヘルプコンテキストID
エラーのとき 0