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

AVEVA™ Plant SCADA

WinGetWndHnd

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the window handle for the current window. The window handle may be used by 'C' programs and Plant SCADA Wnd... functions. You may pass the windows handle to a 'C' program by using the DLL functions.

Syntax

WinGetWndHnd()

Return Value

The window handle if successful, otherwise 0 (zero) is returned. Be aware that this is not the same as a Plant SCADA window number returned from the WinNumber() function.

DLLCall, WinNew, WndFind, WndShow

Example

INT hWnd;
hWnd = WinGetWndHnd();
WinShow(hWnd,6); //iconize the window

See Also

Window Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in