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

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

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?
0
AndyAinscow
Asked:
AndyAinscow
1 Solution
 
kamareyCommented:
You can move down a propertysheet with all pages.
0
 
AndyAinscowAuthor 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
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
AndyAinscowAuthor 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
 
AndyAinscowAuthor Commented:
I had placed a dummy for PCJ0961 for 50 pts.  Please delete this question.
0
 
Computer101Commented:
Points refunded, question placed in paq

Computer101
E-E Admin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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