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; {}
  • 相关阅读:
    pandas中的时间序列基础
    Python中的进程
    Pandas透视表和交叉表
    Pandas分组级运算和转换
    Python中的线程详解
    Pandas聚合
    Python面试题整理
    Pandas分组
    暑假集训 || 动态规划
    DFS || HDU 2181
  • 原文地址:https://www.cnblogs.com/del/p/1136463.html
Copyright © 2011-2022 走看看