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

E-E Admin
You can move down a propertysheet with all pages.
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.
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!)

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 );

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.
AndyAinscowFreelance programmer / ConsultantAuthor Commented:
I had placed a dummy for PCJ0961 for 50 pts.  Please delete this question.
All Courses

From novice to tech pro — start learning today.