Go Premium for a chance to win a PS4. Enter to Win

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

add tab control in the dialogbar

I want to add tab control in the dialogbar so that I can make my dialogbar like a propertysheet, I do not know the exact method
0
feihong
Asked:
feihong
1 Solution
 
galkinCommented:
You can add tab control to dialog bar resource or you can create it dinamically as follows.
Add member variable of type CTabCtrl to you dialog bar class.
Add WM_CREATE message handler to dialog bar class and call CTabCtrl Create member function passing desigerd rectangle relative to dialog bar client area and this as parent.
0
 
feihongAuthor Commented:
the answer is very well. Thanks
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

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