zoukankan      html  css  js  c++  java
  • WinAPI: 菜单函数汇总

    function LoadMenu(
      hInstance: HINST; {}
      lpMenuName: PChar {}
    ): HMENU;           {}
    
    function LoadMenuIndirect( lpMenuTemplate: Pointer {} ): HMENU; {}
    function GetMenu( hWnd: HWND {} ): HMENU; {}
    function SetMenu( hWnd: HWND; {} hMenu: HMENU {} ): BOOL; {}
    function ChangeMenu( hMenu: HMENU; {} cmd: UINT; {} lpszNewItem: PChar; {} cmdInsert: UINT; {} flags: UINT {} ): BOOL; {}
    function HiliteMenuItem( hWnd: HWND; {} hMenu: HMENU; {} uIDHiliteItem: UINT; {} uHilite: UINT {} ): BOOL; {}
    function GetMenuString( hMenu: HMENU; {} uIDItem: UINT; {} lpString: PChar; {} nMaxCount: Integer; {} uFlag: UINT {} ): Integer; {}
    function GetMenuState( hMenu: HMENU; {} uId, uFlags: UINT {} ): UINT; {}
    function DrawMenuBar( hWnd: HWND {} ): BOOL; {}
    function GetSystemMenu( hWnd: HWND; {} bRevert: BOOL {} ): HMENU; {}
    function CreateMenu: HMENU; {}
    function CreatePopupMenu: HMENU; {}
    function DestroyMenu( hMenu: HMENU {} ): BOOL; {}
    function CheckMenuItem( hMenu: HMENU; {} uIDCheckItem, uCheck: UINT {} ): DWORD; {}
    function EnableMenuItem( hMenu: HMENU; {} uIDEnableItem, uEnable: UINT {} ): BOOL; {}
    function GetSubMenu( hMenu: HMENU; {} nPos: Integer {} ): HMENU; {}
    function GetMenuItemID( hMenu: HMENU; {} nPos: Integer {} ): UINT; {}
    function GetMenuItemCount( hMenu: HMENU {} ): Integer; {}
    function InsertMenu( hMenu: HMENU; {} uPosition, uFlags, uIDNewItem: UINT; {} lpNewItem: PChar {} ): BOOL; {}
    function AppendMenu( hMenu: HMENU; {} uFlags, uIDNewItem: UINT; {} lpNewItem: PChar {} ): BOOL; {}
    function ModifyMenu( hMnu: HMENU; {} uPosition, uFlags, uIDNewItem: UINT; {} lpNewItem: PChar {} ): BOOL; {}
    function RemoveMenu( hMenu: HMENU; {} uPosition, uFlags: UINT {} ): BOOL; {}
    function DeleteMenu( hMenu: HMENU; {} uPosition, uFlags: UINT {} ): BOOL; {}
    function SetMenuItemBitmaps( hMenu: HMENU; {} uPosition, uFlags: UINT; {} hBitmapUnchecked: HBITMAP; {} hBitmapChecked: HBITMAP {} ): BOOL; {}
    function GetMenuCheckMarkDimensions: Longint; {}
    function TrackPopupMenu( hMenu: HMENU; {} uFlags: UINT; {} x, y, nReserved: Integer; {} hWnd: HWND; {} prcRect: PRect {} ): BOOL; {}
    function TrackPopupMenuEx( hMenu: HMENU; {} Flags: UINT; {} x, y: Integer; {} Wnd: HWND; {} TPMParams: PTPMParams {} ): BOOL; {}
    function GetMenuInfo( hMenu: HMENU; {} var lpmi: TMenuInfo {} ): BOOL; {}
    function SetMenuInfo( hMenu: HMENU; {} const lpcmi: TMenuInfo {} ): BOOL; {}
    function EndMenu: BOOL; {}
    function InsertMenuItem( p1: HMENU; {} p2: UINT; {} p3: BOOL; {} const p4: TMenuItemInfo {} ): BOOL; {}
    function GetMenuItemInfo( p1: HMENU; {} p2: UINT; {} p3: BOOL; {} var p4: TMenuItemInfo {} ): BOOL; {}
    function SetMenuItemInfo( p1: HMENU; {} p2: UINT; {} p3: BOOL; {} const p4: TMenuItemInfo {} ): BOOL; {}
    function GetMenuDefaultItem( hMenu: HMENU; {} fByPos, gmdiFlags: UINT {} ): UINT; {}
    function SetMenuDefaultItem( hMenu: HMENU; {} uItem, fByPos: UINT {} ): BOOL; {}
    function GetMenuItemRect( hWnd: HWND; {} hMenu: HMENU; {} uItem: UINT; {} var lprcItem: TRect {} ): BOOL; {}
    function MenuItemFromPoint( hWnd: HWND; {} hMenu: HMENU; {} ptScreen: TPoint {} ): BOOL; {}
    function IsMenu( hMenu: HMENU {} ): BOOL; {}
  • 相关阅读:
    [Deep-Learning-with-Python] Keras高级概念
    [Deep-Learning-with-Python]计算机视觉中的深度学习
    求数值的n次方根
    caffe dropout解读
    Paper Mark2
    分组卷积+squeezenet+mobilenet+shufflenet的参数及运算量计算
    SSD总结
    sed例子
    Ubuntu 16.04安装MySQL设置远程访问出现问题的完美解决方案(error:10061)
    解决Python-OpenCV中cv2.rectangle报错
  • 原文地址:https://www.cnblogs.com/del/p/1136463.html
Copyright © 2011-2022 走看看