Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Secure the Window Title Bar

  • Last UpdatedJul 13, 2023
  • 1 minute read

You can now specify confirmation actions for standard title bar buttons (minimize, maximize, restore, and close) to override the standard behavior for graphic page windows by writing a Cicode function that defines the alternative action, and specifying that Cicode function using the appropriate OnEvent function event code. The Cicode function needs to return a value.

If your Cicode function returns a zero value, then the Windows message will be passed on to the default message handler so that the window will continue to execute the default behavior.

If your Cicode function returns non-zero, then the Windows message will not be passed on to the default message handler.

In addition, when you call Cicode function Shutdown, you can decide whether to bypass the confirmation function or not.

See Also

Event Functions

Window Functions

TitleResults for “How to create a CRG?”Also Available in