Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Getting file name from opened file in program Pin
Rajkumar R29-Oct-08 3:53
Rajkumar R29-Oct-08 3:53 
AnswerRe: Getting file name from opened file in program Pin
David Crow29-Oct-08 4:00
David Crow29-Oct-08 4:00 
AnswerRe: Getting file name from opened file in program Pin
CPallini29-Oct-08 11:12
mveCPallini29-Oct-08 11:12 
QuestionImplementing STL map Pin
anna mathew29-Oct-08 1:33
anna mathew29-Oct-08 1:33 
QuestionRe: Implementing STL map Pin
Roger Stoltz29-Oct-08 1:37
Roger Stoltz29-Oct-08 1:37 
AnswerRe: Implementing STL map Pin
Jijo.Raj29-Oct-08 2:04
Jijo.Raj29-Oct-08 2:04 
AnswerRe: Implementing STL map Pin
Hamid_RT29-Oct-08 3:51
Hamid_RT29-Oct-08 3:51 
QuestionCDialogBar event handlers trouble Pin
Atropus29-Oct-08 0:40
Atropus29-Oct-08 0:40 
Hi, first of all I do apologize if the question is already in the message board, but I cannot find it.
Here's my problem.
I've implemented a CDialogBar derived class (it makes common initializations to all the dialog bar I need); then I've derived from it a lot of classes each of which implements a specific dialog (created with the dialog designer); in one of them there are various controls (buttons, static text, list box, ecc.); when I add an event associated with a control (e.g. the OnClick event of a button) the designer creates the corresponding method in the class associated to the dialog. I run the program and the button is disabled.
If I move the entry ON_BN_CLICKED of the CDialogBar derived class' message map into the MainFrm's one, the button is enable, but when the event is fired and the method is called the 'this' pointer within the method points to the MainFrm instance (I would like that the reference is the CDialogBar derived class).

What's wrong?

Thanks in advance for any response.
AnswerRe: CDialogBar event handlers trouble Pin
Rajkumar R29-Oct-08 0:51
Rajkumar R29-Oct-08 0:51 
Questionhow to pass the values from internet rebar toolbar to main window? Pin
Khathar28-Oct-08 23:24
Khathar28-Oct-08 23:24 
AnswerRe: how to pass the values from internet rebar toolbar to main window? Pin
Rajkumar R29-Oct-08 1:10
Rajkumar R29-Oct-08 1:10 
Questionhow to read and get values from one dialog to another? Pin
Khathar28-Oct-08 23:21
Khathar28-Oct-08 23:21 
AnswerRe: how to read and get values from one dialog to another? Pin
CPallini28-Oct-08 23:31
mveCPallini28-Oct-08 23:31 
GeneralRe: how to read and get values from one dialog to another? Pin
toxcct29-Oct-08 2:09
toxcct29-Oct-08 2:09 
GeneralRe: how to read and get values from one dialog to another? [modified] Pin
CPallini29-Oct-08 3:05
mveCPallini29-Oct-08 3:05 
GeneralRe: how to read and get values from one dialog to another? Pin
toxcct29-Oct-08 3:24
toxcct29-Oct-08 3:24 
AnswerRe: how to read and get values from one dialog to another? Pin
Rajesh R Subramanian28-Oct-08 23:32
professionalRajesh R Subramanian28-Oct-08 23:32 
JokeRe: how to read and get values from one dialog to another? Pin
CPallini28-Oct-08 23:46
mveCPallini28-Oct-08 23:46 
GeneralRe: how to read and get values from one dialog to another? Pin
Hamid_RT29-Oct-08 3:57
Hamid_RT29-Oct-08 3:57 
QuestionRe: how to read and get values from one dialog to another? Pin
Nishad S29-Oct-08 2:10
Nishad S29-Oct-08 2:10 
AnswerRe: how to read and get values from one dialog to another? Pin
KarstenK29-Oct-08 2:27
mveKarstenK29-Oct-08 2:27 
AnswerRe: how to read and get values from one dialog to another? Pin
Hamid_RT29-Oct-08 4:02
Hamid_RT29-Oct-08 4:02 
QuestionHow Can I compress the Avi to RLE8 ? Pin
maheshbhoir.home28-Oct-08 21:54
maheshbhoir.home28-Oct-08 21:54 
AnswerRe: How Can I compress the Avi to RLE8 ? Pin
Rajkumar R29-Oct-08 0:32
Rajkumar R29-Oct-08 0:32 
Questionwhat are the minimum requirements for an application's .exe (developed using visual studio 2005) to run ? Pin
kapardhi28-Oct-08 20:51
kapardhi28-Oct-08 20:51 

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.