Solved

Property sheet and MFC

Posted on 2002-04-09
6
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: 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!

 
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

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!

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

710 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