BBjSysGui::createPopupMenu
Description
In BBj 4.0 and higher, this method creates a BBjPopupMenu from a resource file.
Syntax
Return Value |
Method |
---|---|
createPopupMenu(int resHandle, int popupMenuID) |
Parameters
Variable |
Description |
---|---|
resHandle |
Specifies the handle returned by a call to RESOPEN. |
popupMenuID |
Specifies the control id of a popup menu contained in the resource referred to by resHandle. |
Return Value
Returns a BBjPopupMenu object.
Remarks
When a foreign interpreter invokes this method, an !ERROR=208 Multi Thread results. See Accessing Objects From Different Interpreters.
Example Program (popup.src)
|
Example Resource File (popup.arc)
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.