WinAPI: 菜单函数汇总
WinAPI: 菜单函数汇总
涂孟超 发表于3年前
WinAPI: 菜单函数汇总
  • 发表于 3年前
  • 阅读 2
  • 收藏 0
  • 点赞 0
  • 评论 0

腾讯云实验室 1小时搭建人工智能应用,让技术更容易入门 免费体验 >>>   

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; {}
共有 人打赏支持
粉丝 13
博文 2004
码字总数 14107
×
涂孟超
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: