#include "windows.h" BOOL IsDialog(const HWND hwnd) { return GetWindowLong(hwnd, DWL_DLGPROC) != NULL; }
Programming Tips - Win32: check if a HWND is a dialog window
Date: 1999dec31
OS: Windows
Language: C/C++
Q. Win32: check if a HWND is a dialog window
A.