hi,i tried the style tab, but the problem is only the dialog is changing, well the list inside still remains the same size. what should i do to make the list and everything inside the dialog also enlarge together?
i am sorry, because i just started learning MFC, i have no idea how to build a message handler.how to use the WM_SIZE? i am so sorry, but really need your help....
Hit Ctrl+W to bring up the class wizard. On the "Message Maps" tab, select your dialog class (it is probably already selected), and find WM_SIZE in the Messages list box. Click it and hit OK to create the new handler. In the handler, do something like this:
void CMyDlg::OnSize(UINT nType, int cx, int cy)
{
CDialog::OnSize(nType, cx, cy);
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.