Menu.CreateMenuHandle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new handle to the Menu.
protected:
virtual IntPtr CreateMenuHandle();
protected virtual IntPtr CreateMenuHandle ();
abstract member CreateMenuHandle : unit -> nativeint
override this.CreateMenuHandle : unit -> nativeint
Protected Overridable Function CreateMenuHandle () As IntPtr
Returns
IntPtr
nativeint
A handle to the menu if the method succeeds; otherwise, null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.