version 2003
PA_GetHWND (windowRef) long
Parameter | Type | Description | |
windowRef | PA_WindowRef | 4D Window reference to convert to HWND | |
Function result | long | Corresponding HWND value of windowRef |
Description
The routine PA_GetHWND converts a 4D window reference into a Windows regular HWND.
If you pass 0, it returns the current window HWND
Example
Force window update under Windows.
#if VERSIONWIN HWND frontWindow; frontWindow = PA_GetHWND(0L); InvalidateRect(PA_GetHWND(0L), NULL, FALSE); #endif
See Also
No reference.
Error Handling
Use PA_GetLastError to see if an error occurred