Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the proper call?
Message
Information générale
Forum:
Visual C++
Catégorie:
ActiveX
Divers
Thread ID:
00805580
Message ID:
00805856
Vues:
35
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform