-
March 1st, 2000, 12:42 PM
#1
How to put tabs on bottom of CPropertyPage?
I have created a CPropertyPage and added pages to it. Now how do I make the tabs appear at the bottom of the sheet instead of the top?
-
March 1st, 2000, 01:24 PM
#2
Re: How to put tabs on bottom of CPropertyPage?
Derive a class from CPropertySheet using class wizard, then add a handler for OnInitDialog and change the code to
BOOL YourPropSheet::OnInitDialog()
{
CWnd* pWnd = GetDlgItem(AFX_IDC_TAB_CONTROL);
ASSERT(pWnd);
if (pWnd)
pWnd->ModifyStyle(0, TCS_BOTTOM);
return CPropertySheet::OnInitDialog();
}
HTH,
Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|