API 文件集 > Custom user interface > Object ProUIMenubar > Function ProUIMenubarDisable
Function ProUIMenubarDisable
Description
Sets the Menubar to be disabled, so the user cannot select it.
Use this function only with a menu bar in a custom application-created UI dialog.
Synopsis
#include <ProUIMenubar.h>
ProUIMenubarDisable
(
char* dialog
/* (In)
The name of the dialog that contains the input panel
*/
char* component
/* (In)
The name of the Menubar component
*/
)
Returns
The function was successful
The function failed
An invalid argument was given
User Guide References
這是否有幫助?