Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change the size of a control
Message
Information générale
Forum:
Visual C++
Catégorie:
Dialogues
Divers
Thread ID:
00862071
Message ID:
00862092
Vues:
15
>Hi Everybody,
>
>How may I programmatically change the size of a control in a Dialog Box in Visual C++?

CWnd::SetWindowPos() with SWP_NOMOVE flag or CWnd::MoveWindow().
For example:
GetDlgItem(IDC_SOMECONTROL)->SetWindowPos(NULL,0,0,100,200,SWP_NOMOVE|SWP_NOZORDER);
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform