ヘルプコンテキストIDをメニューと関連付ける
Declare Function SetMenuContextHelpId Lib "user32.dll" _
(ByVal hmenu As Long, ByVal dwContextHelpId As Long) As Long
Declare Function SetMenuContextHelpId Lib "user32.dll" _
(ByVal hmenu As Integer, ByVal dwContextHelpId As Integer) As Integer
BOOL SetMenuContextHelpId(
HMENU hmenu,
DWORD dwContextHelpId
);
引数
hmenu
メニューのハンドルdwContextHelpId
ヘルプコンテキストID戻り値
正常終了のとき 0以外
エラーのとき 0