Click here to Skip to main content
15,893,337 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bitmap in parent overlaps child dialog. Pin
Mark Salsbery14-Jun-07 12:17
Mark Salsbery14-Jun-07 12:17 
GeneralRe: Bitmap in parent overlaps child dialog. Pin
Naveen14-Jun-07 14:32
Naveen14-Jun-07 14:32 
GeneralRe: Bitmap in parent overlaps child dialog. Pin
Naveen14-Jun-07 14:37
Naveen14-Jun-07 14:37 
GeneralRe: Bitmap in parent overlaps child dialog. Pin
aquawicket15-Jun-07 5:49
aquawicket15-Jun-07 5:49 
GeneralRe: Bitmap in parent overlaps child dialog. Pin
Mark Salsbery15-Jun-07 7:12
Mark Salsbery15-Jun-07 7:12 
GeneralRe: Bitmap in parent overlaps child dialog. Pin
aquawicket15-Jun-07 9:57
aquawicket15-Jun-07 9:57 
QuestionIMPLEMENT_DYNCREATE - passing parameters to constructor Pin
Vaclav_14-Jun-07 11:46
Vaclav_14-Jun-07 11:46 
AnswerRe: IMPLEMENT_DYNCREATE - passing parameters to constructor Pin
Mark Salsbery14-Jun-07 12:10
Mark Salsbery14-Jun-07 12:10 
Vaclav_Sal wrote:
Is there any way to get around this?


Yes - implement your own version of the macros Smile | :)

There's a few reasons doing this doesn't make sense and/or is impossible:

Since the macros help implement a method of creating objects given only a class name, the only
possible constructor to use is a default one.

If you know enough about the class to know that the constructor takes a parameter then creation
by classname wouldn't be necessary.

Even if you implemented a different constructor, MFC wouldn't be able to use it.

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

QuestionQuestion about string in C++ ( simple question i think ) Pin
Yanshof14-Jun-07 11:34
Yanshof14-Jun-07 11:34 
AnswerRe: Question about string in C++ ( simple question i think ) Pin
Mark Salsbery14-Jun-07 11:58
Mark Salsbery14-Jun-07 11:58 
AnswerRe: Question about string in C++ ( simple question i think ) Pin
Rick York14-Jun-07 18:17
mveRick York14-Jun-07 18:17 
AnswerRe: Question about string in C++ ( simple question i think ) Pin
David Crow15-Jun-07 9:31
David Crow15-Jun-07 9:31 
GeneralRe: Question about string in C++ ( simple question i think ) Pin
Yanshof15-Jun-07 21:53
Yanshof15-Jun-07 21:53 
QuestionCRecordset+ date Pin
paulosuckow14-Jun-07 11:24
paulosuckow14-Jun-07 11:24 
QuestionUsing MySQL from VC++ 6 Pin
Accius14-Jun-07 10:41
Accius14-Jun-07 10:41 
AnswerRe: Using MySQL from VC++ 6 Pin
led mike14-Jun-07 10:49
led mike14-Jun-07 10:49 
GeneralRe: Using MySQL from VC++ 6 Pin
Accius14-Jun-07 21:03
Accius14-Jun-07 21:03 
GeneralRe: Using MySQL from VC++ 6 Pin
Accius14-Jun-07 21:08
Accius14-Jun-07 21:08 
GeneralRe: Using MySQL from VC++ 6 Pin
led mike15-Jun-07 4:29
led mike15-Jun-07 4:29 
QuestionMouse event pecularity in vertical scrollbar Pin
Vancouver14-Jun-07 9:47
Vancouver14-Jun-07 9:47 
AnswerRe: Mouse event pecularity in vertical scrollbar [modified] Pin
Mark Salsbery14-Jun-07 10:08
Mark Salsbery14-Jun-07 10:08 
GeneralRe: Mouse event pecularity in vertical scrollbar Pin
Vancouver14-Jun-07 10:15
Vancouver14-Jun-07 10:15 
GeneralRe: Mouse event pecularity in vertical scrollbar Pin
Mark Salsbery14-Jun-07 10:24
Mark Salsbery14-Jun-07 10:24 
GeneralRe: Mouse event pecularity in vertical scrollbar Pin
Vancouver14-Jun-07 11:07
Vancouver14-Jun-07 11:07 
GeneralRe: Mouse event pecularity in vertical scrollbar Pin
Mark Salsbery14-Jun-07 11:23
Mark Salsbery14-Jun-07 11:23 

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.