Click here to Skip to main content
16,007,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: class view information file Pin
Bill Wilson13-May-02 11:23
Bill Wilson13-May-02 11:23 
GeneralRe: class view information file Pin
Michael P Butler13-May-02 22:35
Michael P Butler13-May-02 22:35 
GeneralRegistry error "Invalid handle" Pin
redeemer13-May-02 8:58
redeemer13-May-02 8:58 
GeneralRe: Registry error "Invalid handle" Pin
Carlos Antollini13-May-02 9:13
Carlos Antollini13-May-02 9:13 
GeneralThe RegCreateKeyEx creates or opens a key Pin
redeemer13-May-02 9:25
redeemer13-May-02 9:25 
GeneralRe: The RegCreateKeyEx creates or opens a key Pin
Bill Wilson13-May-02 11:41
Bill Wilson13-May-02 11:41 
GeneralRe: Registry error "Invalid handle" Pin
Jason Henderson13-May-02 17:18
Jason Henderson13-May-02 17:18 
Generalsimple MFC Q- about inheritance Pin
spoongirl13-May-02 8:26
spoongirl13-May-02 8:26 
is there some mysterious unwritten law against inheriting INDIRECTLY from MFC classes?

i'm having all sorts of trouble trying to do something very simple. here is an example of my woe:

I'd like to create my own Wizard property sheet class, derived from CPropertySheet. ok, well- that's all fine and good, as long as I use the class that inherits directly from CPropertySheet. but try to add another layer, and forget it. will NOT compile.

same thing now happening with CPropertyPage. I'm trying to make a bunch of pages for my wizard, and they share common characteristics. seems like the textbook case of where to use a base class. I'd like to make my base class, WizardPage (or whatever) inherit from CPropertyPage. then all of my actual pages inherit from WizardPage.

no matter what i try, this will not compile. if i try to use one of the child classes, it says "base class undefined" or something. trust me, i included the right headers. Wink | ;)

i would be forever grateful to anyone who can explain why this is happening.

~L
GeneralRe: simple MFC Q- about inheritance Pin
Bill Wilson13-May-02 10:01
Bill Wilson13-May-02 10:01 
GeneralRe: simple MFC Q- about inheritance Pin
spoongirl14-May-02 5:38
spoongirl14-May-02 5:38 
Questionhow to set radio button to be checked? Pin
pnpfriend13-May-02 8:14
pnpfriend13-May-02 8:14 
AnswerRe: how to set radio button to be checked? Pin
Wes Jones13-May-02 8:25
Wes Jones13-May-02 8:25 
AnswerRe: how to set radio button to be checked? Pin
Jason Henderson13-May-02 8:44
Jason Henderson13-May-02 8:44 
AnswerRe: how to set radio button to be checked? Pin
redeemer13-May-02 9:17
redeemer13-May-02 9:17 
AnswerRe: how to set radio button to be checked? Pin
Michael Dunn13-May-02 10:26
sitebuilderMichael Dunn13-May-02 10:26 
Generalclass fstream and dll Pin
Dan Verret13-May-02 8:05
Dan Verret13-May-02 8:05 
GeneralDetecting multiple partitions on the same hard drive Pin
Wes Jones13-May-02 7:19
Wes Jones13-May-02 7:19 
GeneralRe: Detecting multiple partitions on the same hard drive Pin
redeemer13-May-02 9:43
redeemer13-May-02 9:43 
GeneralRe: Detecting multiple partitions on the same hard drive Pin
Wes Jones13-May-02 13:16
Wes Jones13-May-02 13:16 
GeneralRe: Detecting multiple partitions on the same hard drive Pin
Jason Henderson13-May-02 17:21
Jason Henderson13-May-02 17:21 
GeneralRe: Detecting multiple partitions on the same hard drive Pin
Wes Jones13-May-02 18:03
Wes Jones13-May-02 18:03 
GeneralISAPI Filter and FTP Pin
Ed K13-May-02 6:45
Ed K13-May-02 6:45 
GeneralRe: ISAPI Filter and FTP Pin
Bill Wilson13-May-02 10:03
Bill Wilson13-May-02 10:03 
GeneralRe: ISAPI Filter and FTP Pin
Ed K13-May-02 10:14
Ed K13-May-02 10:14 
QuestionGet IP address programatically ? Pin
dlhson13-May-02 6:24
dlhson13-May-02 6:24 

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.