WinAPI: 菜單函數匯總

來源:互聯網
上載者:User
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;       {}

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.