SetSubMenu SEMenu

<< Click to Display Table of Contents >>

Navigation:  SEUIXP Classes for X# > Classes > SEMenu >

SetSubMenu SEMenu

Previous pageReturn to chapter overviewNext page

Purpose

Assigns a sub menu handle to the existing menu item <nItemID>.

 

Prototype

METHOD SetSubMenu(nItemID, hSubMenu) CLASS SEMenu

 

Arguments

<nItemID>

Item ID of an existing menu item.

[<hSubMenu>]

Handle of the sub menu. If hSubMenu is NIL or not specified a new empty sub menu becomes created.

 

Return

The handle of the sub menu (hSubMenu or the handle of the new created empty sub menu) if successful, otherwise Null_Ptr.