Bình Nguyên
Bình Nguyên

Reputation: 2352

Win32 API check if current window is dialog or normal window

I'm dealing with win32 api subclass. My issue is I don't know my subclass procedure is running on a dialog or a "normal window". Can anyone tell me how can I determine current window is a dialog or a normal window?

Upvotes: 4

Views: 2233

Answers (1)

Kirill Kobelev
Kirill Kobelev

Reputation: 10557

Check the name of the window class. There is no formal documented way of determining this other than that.

Upvotes: 11

Related Questions