Dynamic Windows Function [dw_window_compare]
Syntax
int dw_window_compare(HWND window1, HWND window2)
Parameters
HWND window1: First window handle to compare.
HWND window2: Second window handle to compare.
Returns
int TRUE if the windows are the same object, FALSE if not.
Description
Compare two window handles.
Remarks
This function was introduced in version 3.2.
On most platforms this is just a direct handle comparison. However some platforms require special handling, Android for example has both global and local references, different values which may refer to the same object.
Use this function to check if the two handles reference the same object.