Solved

I need have property sheet without buttons

Posted on 2001-09-12
1
250 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
1 Comment
 
LVL 32

Accepted Solution

by:
jhance earned 100 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

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

11 Experts available now in Live!

Get 1:1 Help Now