[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 440
  • Last Modified:

VC++ workspace view property page.

Im trying to recreate the Visual C++ Property page-like display they use for the workspace view.  Do I have to hand code the buttons at the bottom or is there some other way of displaying them?

Many thanks in advance
0
AdrianBrown
Asked:
AdrianBrown
  • 5
  • 2
1 Solution
 
bhatCommented:
Hi
U can put the tabs on the bottom by setting the style.

U can lok at the following code snippet
BOOL CSheet::OnInitDialog()
{
  BOOL bResult = CPropertySheet::OnInitDialog();
CTabCtrl*  pControl = GetTabControl();
pControl->ModifyStyle(0,TCS_BOTTOM );

}

where CSheet is property sheet class
Hope this helps
0
 
bhatCommented:
hi

if U want buttons instead of tabs

pControl->ModifyStyle(0,TCS_BOTTOM | TCS_BUTTONS);

0
 
bhatCommented:
hi

if U want buttons instead of tabs

pControl->ModifyStyle(0,TCS_BOTTOM | TCS_BUTTONS);

0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
AdrianBrownAuthor Commented:
Thanks
0
 
AdrianBrownAuthor Commented:
Did that give you 200 points???
0
 
bhatCommented:
Yes
In fact it gave me 800 points
0
 
bhatCommented:
Yes
In fact it gave me 800 points
Thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now