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

C / C++ / MFC

 
GeneralPassing arrays to functions(Simple question)! Pin
Paddy20-Mar-03 11:13
Paddy20-Mar-03 11:13 
GeneralRe: Passing arrays to functions(Simple question)! Pin
João Paulo Figueira20-Mar-03 11:25
professionalJoão Paulo Figueira20-Mar-03 11:25 
GeneralRe: Passing arrays to functions(Simple question)! Pin
Paddy20-Mar-03 11:58
Paddy20-Mar-03 11:58 
GeneralUnexpected Delay in TCP Streams Pin
SanShou20-Mar-03 10:18
SanShou20-Mar-03 10:18 
GeneralODBC and CListCtrl Pin
Anonymous20-Mar-03 10:14
Anonymous20-Mar-03 10:14 
QuestionCreate Report in Access? Pin
Aaron Schaefer20-Mar-03 9:59
Aaron Schaefer20-Mar-03 9:59 
GeneralEndDialog() for modal Pin
ns20-Mar-03 9:09
ns20-Mar-03 9:09 
GeneralRe: EndDialog() for modal Pin
Alvaro Mendez20-Mar-03 9:31
Alvaro Mendez20-Mar-03 9:31 
I'm not sure, I've never tried it. Have you experienced a problem with it?

It seems to me like your dialog box doesn't have an OK button (IDOK) but you want it to behave as if it did. If that's the case, it's a lot easier to just add a line to your dialog's message map:

BEGIN_MESSAGE_MAP(CYourDlg, CDialog)
	//{{AFX_MSG_MAP(CYourDlg)
	ON_BN_CLICKED(IDOK, OnOK)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


Regards,
Alvaro


That which does not kill me postpones the inevitable. -- despair.com
GeneralRe: EndDialog() for modal Pin
ns20-Mar-03 9:34
ns20-Mar-03 9:34 
GeneralRe: EndDialog() for modal Pin
Neville Franks20-Mar-03 9:37
Neville Franks20-Mar-03 9:37 
Generalsorry for the confusion Pin
ns20-Mar-03 9:42
ns20-Mar-03 9:42 
QuestionHow to avoid this? (HTMLView and Handle leaks) Pin
Joan M20-Mar-03 7:43
professionalJoan M20-Mar-03 7:43 
AnswerRe: How to avoid this? (HTMLView and Handle leaks) Pin
Stephane Rodriguez.20-Mar-03 8:19
Stephane Rodriguez.20-Mar-03 8:19 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M20-Mar-03 8:44
professionalJoan M20-Mar-03 8:44 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Stephane Rodriguez.20-Mar-03 9:19
Stephane Rodriguez.20-Mar-03 9:19 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M20-Mar-03 20:35
professionalJoan M20-Mar-03 20:35 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Stephane Rodriguez.20-Mar-03 21:17
Stephane Rodriguez.20-Mar-03 21:17 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M20-Mar-03 22:09
professionalJoan M20-Mar-03 22:09 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Stephane Rodriguez.20-Mar-03 22:31
Stephane Rodriguez.20-Mar-03 22:31 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M20-Mar-03 22:53
professionalJoan M20-Mar-03 22:53 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M20-Mar-03 22:59
professionalJoan M20-Mar-03 22:59 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M21-Mar-03 4:05
professionalJoan M21-Mar-03 4:05 
AnswerRe: How to avoid this? (HTMLView and Handle leaks) Pin
Neville Franks20-Mar-03 9:34
Neville Franks20-Mar-03 9:34 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M20-Mar-03 19:45
professionalJoan M20-Mar-03 19:45 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Neville Franks21-Mar-03 0:29
Neville Franks21-Mar-03 0:29 

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.