Solved

Property sheet and MFC

Posted on 2002-04-09
6
170 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
cat dog challenge 18 122
Looking for a specific application/software 2 92
viewing source code from eclipse 13 74
zeroMAx challenge 20 76
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

760 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

21 Experts available now in Live!

Get 1:1 Help Now