Click here to Skip to main content
15,921,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can we add two dialogs to the same class? Pin
Hamid_RT18-Apr-06 20:47
Hamid_RT18-Apr-06 20:47 
GeneralRe: Can we add two dialogs to the same class? Pin
harshandu18-Apr-06 20:48
harshandu18-Apr-06 20:48 
GeneralRe: Can we add two dialogs to the same class? Pin
Cedric Moonen18-Apr-06 20:56
Cedric Moonen18-Apr-06 20:56 
GeneralRe: Can we add two dialogs to the same class? Pin
Hamid_RT18-Apr-06 21:33
Hamid_RT18-Apr-06 21:33 
AnswerRe: Can we add two dialogs to the same class? Pin
kiran janaswamy18-Apr-06 20:59
kiran janaswamy18-Apr-06 20:59 
GeneralRe: Can we add two dialogs to the same class? Pin
_AnsHUMAN_ 18-Apr-06 21:06
_AnsHUMAN_ 18-Apr-06 21:06 
AnswerRe: Can we add two dialogs to the same class? Pin
Parthiban18-Apr-06 21:32
Parthiban18-Apr-06 21:32 
AnswerRe: Can we add two dialogs to the same class? Pin
ThatsAlok19-Apr-06 7:02
ThatsAlok19-Apr-06 7:02 
harshandu wrote:
an we add two dialogs to the same class?Consider two dialogs A and B of class clz.now if i make a call as clz obj;obj.DoModal();here which dialog is invoked.


yes, you can create so! you just have to pass the Dialog ID dynamically, and you have to create there variable on HEAP, i.e. use new

"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Question.h, .lib and .dll Pin
HakunaMatada18-Apr-06 20:13
HakunaMatada18-Apr-06 20:13 
AnswerRe: .h, .lib and .dll Pin
Stephen Hewitt18-Apr-06 20:29
Stephen Hewitt18-Apr-06 20:29 
GeneralRe: .h, .lib and .dll Pin
HakunaMatada18-Apr-06 21:26
HakunaMatada18-Apr-06 21:26 
GeneralRe: .h, .lib and .dll Pin
Stephen Hewitt21-Apr-06 0:04
Stephen Hewitt21-Apr-06 0:04 
AnswerRe: .h, .lib and .dll Pin
Waldermort18-Apr-06 20:31
Waldermort18-Apr-06 20:31 
GeneralRe: .h, .lib and .dll Pin
HakunaMatada18-Apr-06 21:32
HakunaMatada18-Apr-06 21:32 
AnswerRe: .h, .lib and .dll Pin
maiquysang18-Apr-06 21:32
maiquysang18-Apr-06 21:32 
GeneralRe: .h, .lib and .dll Pin
Stephen Hewitt21-Apr-06 0:08
Stephen Hewitt21-Apr-06 0:08 
Questionnew and delete Pin
HakunaMatada18-Apr-06 19:50
HakunaMatada18-Apr-06 19:50 
AnswerRe: new and delete Pin
kirannarik18-Apr-06 19:57
kirannarik18-Apr-06 19:57 
AnswerRe: new and delete Pin
MANISH RASTOGI18-Apr-06 20:14
MANISH RASTOGI18-Apr-06 20:14 
GeneralRe: new and delete Pin
vikramlinux18-Apr-06 20:33
vikramlinux18-Apr-06 20:33 
GeneralRe: new and delete Pin
ThatsAlok19-Apr-06 1:16
ThatsAlok19-Apr-06 1:16 
GeneralRe: new and delete Pin
vikramlinux19-Apr-06 3:04
vikramlinux19-Apr-06 3:04 
GeneralRe: new and delete Pin
ThatsAlok19-Apr-06 7:00
ThatsAlok19-Apr-06 7:00 
QuestionRefresh/Resize Problem in SDI application Pin
kirannarik18-Apr-06 19:37
kirannarik18-Apr-06 19:37 
QuestionRe: Refresh/Resize Problem in SDI application Pin
prasad_som18-Apr-06 21:25
prasad_som18-Apr-06 21:25 

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.