Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the proper call?
Message
General information
Forum:
Visual C++
Category:
ActiveX
Miscellaneous
Thread ID:
00805580
Message ID:
00805856
Views:
36
>Once you have the handle to a window. What API can you use to get additional attributes about that window. I have GetClassName and GetWindowText they work great. I need to know additional info like does it have a border, min, max, close, titlebar and is it sizable ... etc.

Joe,

GetWindowLong(hWnd, GWL_STYLE) will help you. You can check returned window styles for presence of WS_BORDER, WS_CAPTION, WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_SIZEBOX styles.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform