Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Zdeslav Vojkovic10-Apr-03 21:28
Zdeslav Vojkovic10-Apr-03 21:28 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Toni7810-Apr-03 22:35
Toni7810-Apr-03 22:35 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Zdeslav Vojkovic10-Apr-03 23:56
Zdeslav Vojkovic10-Apr-03 23:56 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Toni7811-Apr-03 21:57
Toni7811-Apr-03 21:57 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Zdeslav Vojkovic13-Apr-03 22:25
Zdeslav Vojkovic13-Apr-03 22:25 
GeneralNeed Help on Tab Ctrl Pin
kyoshiro9-Apr-03 19:44
kyoshiro9-Apr-03 19:44 
GeneralRe: Need Help on Tab Ctrl Pin
Cedric Moonen9-Apr-03 20:10
Cedric Moonen9-Apr-03 20:10 
GeneralRe: Need Help on Tab Ctrl Pin
Joan M9-Apr-03 20:44
professionalJoan M9-Apr-03 20:44 
Use the property sheet...

If you have to handle messages from the controls inside the tabs, it would be easier...

Here's how to start:

1. Create a new class derived from CPropertySheet (CMyPropertySheet or whatever).

2. Create one dialog for each tab you need.

3. Create a class for each dialog, but don't use CDialog as the derived class, you must choose CPropertyPage.

4. Handle all events you want to in each dialog...

5. In order to create the Property pages you should do it in the contructor of the property sheet (look at AddPage (from my memory Unsure | :~ ))
(Remember to create a variable for each dialog(propertypage) that you need to add inside the property sheet. Remember to include all the Property Pages *.h (headers) in the MyPropertySheet.h...

In order to make the results visible you'll have to call do modal...

NOTE:
if you want to create the property sheet embedded you'll have to work more, but it is also easy...

try it, if you cannot reach it, post another message.

Hope this helps...
GeneralSwitch statement and while loop Pin
Aaron Knox9-Apr-03 19:08
Aaron Knox9-Apr-03 19:08 
GeneralRe: Switch statement and while loop Pin
Joaquín M López Muñoz9-Apr-03 19:41
Joaquín M López Muñoz9-Apr-03 19:41 
GeneralRe: Switch statement and while loop Pin
Aaron Knox10-Apr-03 2:57
Aaron Knox10-Apr-03 2:57 
GeneralDate Time Picker problem Pin
rohit.dhamija9-Apr-03 18:25
rohit.dhamija9-Apr-03 18:25 
GeneralRe: Date Time Picker problem Pin
JohnJ9-Apr-03 19:44
JohnJ9-Apr-03 19:44 
GeneralProblem with SetWindowPos() function Pin
julia20009-Apr-03 17:34
julia20009-Apr-03 17:34 
GeneralRe: Problem with SetWindowPos() function Pin
Nish Nishant9-Apr-03 18:23
sitebuilderNish Nishant9-Apr-03 18:23 
GeneralRe: Problem with SetWindowPos() function Pin
julia20009-Apr-03 19:20
julia20009-Apr-03 19:20 
GeneralModifyStyle(......) Pin
ZarrinPour9-Apr-03 17:32
ZarrinPour9-Apr-03 17:32 
GeneralRe: ModifyStyle(......) Pin
Dave Bryant9-Apr-03 17:55
Dave Bryant9-Apr-03 17:55 
GeneralRe: ModifyStyle(......) Pin
Maximilien10-Apr-03 2:36
Maximilien10-Apr-03 2:36 
GeneralWM_RBUTTONDOWN message in dialog-based application Pin
Member 2592879-Apr-03 16:21
Member 2592879-Apr-03 16:21 
GeneralRe: WM_RBUTTONDOWN message in dialog-based application Pin
Nish Nishant9-Apr-03 17:25
sitebuilderNish Nishant9-Apr-03 17:25 
GeneralI have a problem about ID_FILE_SAVE and ID_FILE_PRINT Pin
-=JoKeR=-9-Apr-03 15:40
-=JoKeR=-9-Apr-03 15:40 
GeneralRe: I have a problem about ID_FILE_SAVE and ID_FILE_PRINT Pin
CodeBrain9-Apr-03 21:38
CodeBrain9-Apr-03 21:38 
GeneralNT Driver Pin
John R. Shaw9-Apr-03 13:52
John R. Shaw9-Apr-03 13:52 
GeneralRe: NT Driver Pin
geo_m10-Apr-03 5:07
geo_m10-Apr-03 5:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.