Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Property sheet and MFC

Posted on 2002-04-09
Medium Priority
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?
Question by:AndyAinscow
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

Expert Comment

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

Author Comment

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.

Expert Comment

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 );

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

LVL 44

Author Comment

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

Author Comment

ID: 7655773
I had placed a dummy for PCJ0961 for 50 pts.  Please delete this question.

Accepted Solution

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

E-E Admin

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

715 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