知道一个api函数名称,如:SetMenuItemBitmaps
如何知道此函数需要的参数哪?
请指点指点,谢谢!
如果有相关资料更好!
[email protected]

解决方案 »

  1.   

    MSDN撒 SyntaxBOOL SetMenuItemBitmaps(          HMENU hMenu,
        UINT uPosition,
        UINT uFlags,
        HBITMAP hBitmapUnchecked,
        HBITMAP hBitmapChecked
    );
    ParametershMenu
    [in] Handle to the menu containing the item to receive new check- bitmaps. 
    uPosition
    [in] Specifies the menu item to be changed, as determined by the uFlags parameter. 
    uFlags
    [in] Specifies how the uPosition parameter is interpreted. The uFlags parameter must be one of the following values. 
    MF_BYCOMMAND
    Indicates that uPosition gives the identifier of the menu item. If neither MF_BYCOMMAND nor MF_BYPOSITION is specified, MF_BYCOMMAND is the default flag.
    MF_BYPOSITION
    Indicates that uPosition gives the zero-based relative position of the menu item.
    hBitmapUnchecked
    [in] Handle to the bitmap displayed when the menu item is not selected. 
    hBitmapChecked
    [in] Handle to the bitmap displayed when the menu item is selected. 
    Return ValueIf the function succeeds, the return value is nonzero.