简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM