Solved

Property sheet and MFC

Posted on 2002-04-09
6
173 Views
Last Modified: 2013-11-20
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
Comment
Question by:AndyAinscow
6 Comments
 
LVL 2

Expert Comment

by:kamarey
ID: 6929327
You can move down a propertysheet with all pages.
0
 
LVL 44

Author Comment

by:AndyAinscow
ID: 6930712
Hi kamarey,

I don't understand your comment.  I understand the words but I don't know what you are saying.  Please expand.
0
 
LVL 1

Expert Comment

by:pcj0961
ID: 6931634
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 44

Author Comment

by:AndyAinscow
ID: 6933354
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
 
LVL 44

Author Comment

by:AndyAinscow
ID: 7655773
I had placed a dummy for PCJ0961 for 50 pts.  Please delete this question.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 7659073
Points refunded, question placed in paq

Computer101
E-E Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now