|
constexpr | MenuHandle () noexcept |
|
constexpr | MenuHandle (HMENU hMenu, bool ownsHandle=true) noexcept |
|
void | Close () noexcept |
|
void | AddStyle (DWORD style) const |
|
void | Append (UINT uFlags, UINT_PTR uIDNewItem=0, const wchar_t *newItem=nullptr) const |
|
void | Append (UINT uFlags, UINT_PTR uIDNewItem, const char *newItem) const |
|
void | CheckRadioItem (UINT idFirst, UINT idLast, UINT idCheck, UINT uFlags) const |
|
void | DeleteItem (UINT position, UINT uFlags) const |
|
void | EnableItem (UINT idOfItem, UINT enableFlags) const |
|
UINT | GetDefaultItem (bool byPosition, UINT flags) const |
|
void | GetInfo (LPMENUINFO lpcmi) const |
|
void | GetInfo (MENUINFO &lpcmi) const |
|
std::unique_ptr< MENUINFO > | GetInfo () const |
|
int | GetItemCount () const |
|
UINT | GetItemID (int menuItemPosition) const |
|
void | GetItemInfo (UINT itemIdOrPosition, bool byPosition, LPMENUITEMINFOW lpmii) const |
|
void | GetItemInfo (UINT itemIdOrPosition, bool byPosition, MENUITEMINFOW &lpmii) const |
|
std::unique_ptr< MENUITEMINFOW > | GetItemInfo (UINT itemIdOrPosition, bool byPosition) const |
|
UINT | GetState (UINT itemIdOrPosition, bool byPosition) const |
|
int | GetTextLength (UINT itemIdOrPosition, bool byPosition) const |
|
int | GetText (UINT itemIdOrPosition, LPTSTR lpString, int nMaxCount, bool byPosition) const |
|
WideString | GetText (UINT itemIdOrPosition, bool byPosition) const |
|
MenuHandle | GetSubMenu (int position) const |
|
void | Insert (UINT uPosition, UINT uFlags, UINT_PTR itemIdOrPosition, LPCWSTR newItemText) const |
|
void | Insert (UINT uPosition, UINT uFlags, UINT_PTR itemIdOrPosition, const WideString &newItemText) const |
|
void | Insert (UINT uPosition, UINT uFlags, UINT_PTR itemIdOrPosition, LPCSTR newItemText) const |
|
void | Insert (UINT uPosition, UINT uFlags, UINT_PTR itemIdOrPosition, const AnsiString &newItemText) const |
|
void | InsertItem (UINT itemIdOrPosition, bool byPosition, LPCMENUITEMINFOW menuItemInfo) const |
|
void | InsertItem (UINT itemIdOrPosition, bool byPosition, LPCMENUITEMINFOA menuItemInfo) const |
|
void | InsertItem (UINT itemIdOrPosition, bool byPosition, const MENUITEMINFOW &menuItemInfo) const |
|
void | InsertItem (UINT itemIdOrPosition, bool byPosition, const MENUITEMINFOA &menuItemInfo) const |
|
bool | IsMenu () const |
|
void | Modify (UINT uPosition, UINT uFlags, UINT_PTR uIDNewItem, LPCWSTR menuName) const |
|
void | Remove (UINT uPosition, UINT uFlags) const |
|
void | SetDefaultItem (UINT itemIdOrPosition, bool byPosition) const |
|
void | SetItemBitmaps (UINT itemIdOrPosition, bool byPosition, HBITMAP hBitmapUnchecked, HBITMAP hBitmapChecked) const |
|
void | SetItemInfo (UINT uItem, BOOL fByPosition, const LPMENUITEMINFOW menuItemInfo) const |
|
void | SetItemInfo (UINT uItem, BOOL fByPosition, const MENUITEMINFOW &menuItemInfo) const |
|
void | SetInfo (LPCMENUINFO menuInfo) const |
|
void | SetInfo (const MENUINFO &menuInfo) const |
|
Public Member Functions inherited from Harlinn::Common::Core::Handle< MenuHandle, HMENU > |
| Handle (const Handle &other)=delete |
|
| Handle (Handle &&other) noexcept |
|
virtual | ~Handle () noexcept |
|
constexpr bool | IsValid () const noexcept |
|
Handle & | operator= (Handle &other)=delete |
|
Handle & | operator= (Handle &&other) noexcept |
|
constexpr auto | operator<=> (const Handle &other) const noexcept |
|
constexpr auto | operator<=> (HandleType handle) const noexcept |
|
constexpr bool | operator== (const Handle &other) const noexcept |
|
constexpr bool | operator== (HandleType handle) const noexcept |
|
constexpr | operator HandleType () const noexcept |
|
constexpr HandleType | Value () const noexcept |
|
constexpr bool | OwnsHandle () const noexcept |
|