?
Solved

I need have property sheet without buttons

Posted on 2001-09-12
1
Medium Priority
?
262 Views
Last Modified: 2013-11-20
Hi
I have the following problem. I use ClassWizard to create a class derived from CPropertySheet. But there are a standard buttons OK Cancel and Apply. But I do not need this buttons. I found the CTabCtrl class and I suppose that through this class it is possible resolve my problem. Have anybody sample code of using this class (or what is the order of steps to make)?
Thank you.
0
Comment
Question by:mozdik
[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
1 Comment
 
LVL 32

Accepted Solution

by:
jhance earned 400 total points
ID: 6477033
You could always just DISABLE and HIDE the 3 buttons.  They are child controls of the property sheet and have IDs of, IDOK, IDCANCEL, and IDAPPLY.  Something like:

CButton *b = (CButton *)GetDlgItem(IDOK);
b->EnableWindows(FALSE);
b->ShowWindow(SW_HIDE);

b = (CButton *)GetDlgItem(IDCANCEL);
etc....
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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…
Suggested Courses

765 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