messagebox problem
-
I open a MessageBox from a dialog "mydialog". When i push the ok button on the MessageBox mydialog be closed but i don't want that. How can i let open mydialg? thanks a lot
Post the relevant code where you bring up the messagebox. Nish
My blog on C++/CLI, MFC/Win32, .NET - void Nish(char* szBlog); My MVP tips, tricks and essays web site - www.voidnish.com
-
I open a MessageBox from a dialog "mydialog". When i push the ok button on the MessageBox mydialog be closed but i don't want that. How can i let open mydialg? thanks a lot
-
Post the relevant code where you bring up the messagebox. Nish
My blog on C++/CLI, MFC/Win32, .NET - void Nish(char* szBlog); My MVP tips, tricks and essays web site - www.voidnish.com
void CFatture::message(HWND wnd,CString str,int type) { if(type==0){ MessageBox(NULL,str,"Info",MB_OK|MB_ICONINFORMATION); }else{ MessageBox(NULL,str,"Errore",MB_OK|MB_ICONEXCLAMATION); } } and i call this message function with (for example) theApp.message(NULL,e->Message,1); from class off "mydialog"