Property sheet and MFC

I would like to override the default placement of a propertypage on a propertysheet.

(I want some buttons above the Tab section).

Is there an easy way to do this?
LVL 45
AndyAinscowFreelance programmer / ConsultantAsked:
Who is Participating?
 
Computer101Connect With a Mentor Commented:
Points refunded, question placed in paq

Computer101
E-E Admin
0
 
kamareyCommented:
You can move down a propertysheet with all pages.
0
 
AndyAinscowFreelance programmer / ConsultantAuthor Commented:
Hi kamarey,

I don't understand your comment.  I understand the words but I don't know what you are saying.  Please expand.
0
2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

 
pcj0961Commented:
I have used the following 3 lines in the OnInitDialog of my property sheet class
to create a space under the property pages for buttons.
BOOL CHVAC_UI::OnInitDialog()
{
     CRect windowRect;
         
     GetWindowRect( &windowRect );
     windowRect.bottom += 80;
     MoveWindow( &windowRect, TRUE );

                .
                .
                .
}
0
 
AndyAinscowFreelance programmer / ConsultantAuthor Commented:
Thanks pcj0961, I can do that already.  
I am looking for a simple method to move the pages (and TabCtrl) lower on the sheet to provide space above the Tabs.  I may have to adopt a method akin to that and a customised CPropertySheet based class.

I hoped someone had a solution available.
0
 
AndyAinscowFreelance programmer / ConsultantAuthor Commented:
I had placed a dummy for PCJ0961 for 50 pts.  Please delete this question.
0
All Courses

From novice to tech pro — start learning today.