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?

Improve company productivity with a Business Account.Sign Up

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.
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.