Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 20:12
_AnsHUMAN_ 13-Sep-06 20:12 
GeneralRe: How to subclass a Messgebox Pin
LiYS13-Sep-06 20:08
LiYS13-Sep-06 20:08 
GeneralRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 20:15
_AnsHUMAN_ 13-Sep-06 20:15 
GeneralRe: How to subclass a Messgebox Pin
LiYS13-Sep-06 21:51
LiYS13-Sep-06 21:51 
GeneralRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 22:02
_AnsHUMAN_ 13-Sep-06 22:02 
AnswerRe: How to subclass a Messgebox Pin
Hamid_RT13-Sep-06 23:03
Hamid_RT13-Sep-06 23:03 
QuestionShow CWnd as active when not selected Pin
NorGUI13-Sep-06 19:18
NorGUI13-Sep-06 19:18 
QuestionAssertion Error while creating dialog box Pin
gloriousgopi13-Sep-06 18:45
gloriousgopi13-Sep-06 18:45 
Hi
i got some problem with my code, Acctually i created two threads, a CWnd class calls the fist thread and the fist thread inreturn calls the second thread.
The second thread calls the member function of CAuthen. the second thread calls authen.CheckAuthentication(); in theat member function, i called a dialog using DoModal(); after displaying the dialog, my application gives some
Assertion Error.

can any one tell me where i did wrong.

class CAuthen:: public CWnd
{
............
..
public:

CAuthenDlg auth_dlg;
..

public :

void checkAuthentication();


};

void CAuthen :: checkAuthentication()
{
..
..
..
if( auth_dlg.DoModal() == IDOK)
{
...
// some operation goes here
}
..
..
}

Thanks in Advance.


Gopinath MV
" Don't Sit Like a Rock, Work Like a Clock "

QuestionRe: Assertion Error while creating dialog box Pin
prasad_som13-Sep-06 19:02
prasad_som13-Sep-06 19:02 
AnswerRe: Assertion Error while creating dialog box Pin
Hamid_RT13-Sep-06 19:22
Hamid_RT13-Sep-06 19:22 
QuestionRe: Assertion Error while creating dialog box Pin
gloriousgopi13-Sep-06 20:27
gloriousgopi13-Sep-06 20:27 
AnswerRe: Assertion Error while creating dialog box Pin
Hamid_RT13-Sep-06 20:52
Hamid_RT13-Sep-06 20:52 
AnswerRe: Assertion Error while creating dialog box Pin
David Crow14-Sep-06 3:23
David Crow14-Sep-06 3:23 
QuestionRegistry file path Pin
ashokvishnu13-Sep-06 17:56
ashokvishnu13-Sep-06 17:56 
AnswerRe: Registry file path Pin
ThatsAlok13-Sep-06 18:39
ThatsAlok13-Sep-06 18:39 
Questionplease: how a socket server prog can be called by MFC client?? Pin
alpa shah13-Sep-06 17:42
alpa shah13-Sep-06 17:42 
AnswerRe: please: how a socket server prog can be called by MFC client?? Pin
Naveen13-Sep-06 18:01
Naveen13-Sep-06 18:01 
GeneralRe: please: how a socket server prog can be called by MFC client?? Pin
ThatsAlok13-Sep-06 18:42
ThatsAlok13-Sep-06 18:42 
GeneralRe: please: how a socket server prog can be called by MFC client?? Pin
alpa shah13-Sep-06 19:24
alpa shah13-Sep-06 19:24 
GeneralRe: please: how a socket server prog can be called by MFC client?? Pin
Hamid_RT14-Sep-06 9:00
Hamid_RT14-Sep-06 9:00 
AnswerRe: please: how a socket server prog can be called by MFC client?? Pin
ThatsAlok13-Sep-06 18:45
ThatsAlok13-Sep-06 18:45 
Questionplease: codes in number convert in to words Pin
vansmiles13-Sep-06 17:11
vansmiles13-Sep-06 17:11 
AnswerRe: please: codes in number convert in to words Pin
_AnsHUMAN_ 13-Sep-06 17:20
_AnsHUMAN_ 13-Sep-06 17:20 
AnswerRe: please: codes in number convert in to words Pin
Christian Graus13-Sep-06 19:05
protectorChristian Graus13-Sep-06 19:05 
JokeRe: please: codes in number convert in to words Pin
Steve S13-Sep-06 21:37
Steve S13-Sep-06 21:37 

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.