Click here to Skip to main content
15,925,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a simple c++ question about operator= Pin
Christian Graus9-May-02 23:07
protectorChristian Graus9-May-02 23:07 
GeneralRe: a simple c++ question about operator= Pin
Maxwell Chen9-May-02 23:16
Maxwell Chen9-May-02 23:16 
GeneralRe: a simple c++ question about operator= Pin
Niklas L12-May-02 21:54
Niklas L12-May-02 21:54 
GeneralAnd copy constructor issue...... Pin
Maxwell Chen9-May-02 23:11
Maxwell Chen9-May-02 23:11 
GeneralThank you ,Maxwell Chen and Christian Graus ! Pin
denkor10-May-02 0:48
denkor10-May-02 0:48 
GeneralRe: Thank you ,Maxwell Chen and Christian Graus ! Pin
Maxwell Chen10-May-02 0:54
Maxwell Chen10-May-02 0:54 
QuestionHow to hide and/or disable PropertyPage Pin
Eugene Pustovoyt9-May-02 22:07
Eugene Pustovoyt9-May-02 22:07 
AnswerRe: How to hide and/or disable PropertyPage Pin
Tom Archer9-May-02 22:28
Tom Archer9-May-02 22:28 
I cover this in a demo in my MFC book (see sig). It's a fairly involved process, but here are the basic steps. Let me know if you need any additional help and I'll send you a demo app.

(All of these steps pertain to the property sheet class)


  1. Create a member variable to store the current tab index.
  2. Create an array member variable to hold all of the index values for the currently disabled tabs.
  3. Handle the TCN_SELCHANGING notification message to set the current tab index.
  4. Handle the TCN_SELCHANGED notification message to decide if you want to enable the tab to be activated. If you don’t, you must post a PSM_SETCURSEL message. In this message, the last active tab index is specified.


Cheers,
Tom Archer
Author - Inside C#, Visual C++.NET Bible
GeneralRe: How to hide and/or disable PropertyPage Pin
Eugene Pustovoyt9-May-02 23:56
Eugene Pustovoyt9-May-02 23:56 
GeneralRe: How to hide and/or disable PropertyPage Pin
Tom Archer10-May-02 5:45
Tom Archer10-May-02 5:45 
GeneralRe: How to hide and/or disable PropertyPage Pin
Eugene Pustovoyt10-May-02 7:02
Eugene Pustovoyt10-May-02 7:02 
GeneralRe: How to hide and/or disable PropertyPage Pin
Tom Archer10-May-02 7:08
Tom Archer10-May-02 7:08 
GeneralRe: How to hide and/or disable PropertyPage Pin
Eugene Pustovoyt10-May-02 7:58
Eugene Pustovoyt10-May-02 7:58 
GeneralRe: How to hide and/or disable PropertyPage Pin
Tom Archer10-May-02 7:59
Tom Archer10-May-02 7:59 
GeneralRe: How to hide and/or disable PropertyPage Pin
Eugene Pustovoyt10-May-02 8:45
Eugene Pustovoyt10-May-02 8:45 
GeneralRe: How to hide and/or disable PropertyPage Pin
Tom Archer10-May-02 11:20
Tom Archer10-May-02 11:20 
GeneralRe: How to hide and/or disable PropertyPage Pin
Eugene Pustovoyt15-May-02 6:51
Eugene Pustovoyt15-May-02 6:51 
AnswerRe: How to hide and/or disable PropertyPage Pin
Prem Kumar9-May-02 22:28
Prem Kumar9-May-02 22:28 
GeneralRe: How to hide and/or disable PropertyPage Pin
Eugene Pustovoyt10-May-02 1:39
Eugene Pustovoyt10-May-02 1:39 
Generalbreak vs continue Pin
NicholasCougar9-May-02 21:46
NicholasCougar9-May-02 21:46 
GeneralRe: break vs continue Pin
Nish Nishant9-May-02 21:48
sitebuilderNish Nishant9-May-02 21:48 
GeneralRe: break vs continue Pin
NicholasCougar9-May-02 23:00
NicholasCougar9-May-02 23:00 
GeneralRe: break vs continue Pin
Christian Graus9-May-02 23:09
protectorChristian Graus9-May-02 23:09 
QuestionFeed CEdit with multiple lines? Pin
9-May-02 21:21
suss9-May-02 21:21 
AnswerRe: Feed CEdit with multiple lines? Pin
Nish Nishant9-May-02 21:42
sitebuilderNish Nishant9-May-02 21:42 

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.