Returns a Windows HWND - Advanced users only
GETWINDOW returns a valid HWND in a Shiny type DWORD for the plugin to use as required. Note that the plugin does not actually control this HWND, it's provided by Brass as an access point.
If you need to route a custom message back to the plugin code via this HWND you must use a message ID higher than 0x00000465 (this is equal to WM_USER + decimal 101). 0x00000465 is predefined in SSEdit as WM_SSEUSER, you may use this define as required. Any messages posted to the HWND returned by GETWINDOW that have a message ID greater than WM_SSEUSER will be routed to the plugin's OnCustomWindowsMessage handler. This mechanism provides a way for plugins to access callbacks and provide basic communications via standard Windows message pumps. Using a message ID less than WM_SSEUSER will cause undefined behaviour, as Brass uses these messages for back-end processing. Also note that this HWND should not be considered a "real" window handle to a "real" window as Brass does not use standard Windows mechanisms.
This is intended for advanced users only, who are assumed to already understand the uses and implications of this system. Therefore no samples or further documentation will be provided.
Parameters
None
Return Value
A valid HWND as DWORD.
Example Code
None