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

x
 
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
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.

 
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
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.