Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Generic List and n-criteria sorting Pin
David Crow27-Oct-05 9:38
David Crow27-Oct-05 9:38 
GeneralRe: Generic List and n-criteria sorting Pin
Mariano Lopez-Gappa27-Oct-05 16:55
Mariano Lopez-Gappa27-Oct-05 16:55 
GeneralRe: Generic List and n-criteria sorting Pin
John M. Drescher27-Oct-05 20:36
John M. Drescher27-Oct-05 20:36 
GeneralRe: Generic List and n-criteria sorting Pin
Mariano Lopez-Gappa28-Oct-05 4:54
Mariano Lopez-Gappa28-Oct-05 4:54 
AnswerRe: Generic List and n-criteria sorting Pin
carks27-Oct-05 10:17
carks27-Oct-05 10:17 
Questionmath question Pin
Manu_8127-Oct-05 7:55
Manu_8127-Oct-05 7:55 
AnswerRe: math question Pin
toxcct27-Oct-05 8:12
toxcct27-Oct-05 8:12 
AnswerRe: math question Pin
Bob Flynn27-Oct-05 9:40
Bob Flynn27-Oct-05 9:40 
GeneralRe: math question Pin
Manu_8127-Oct-05 10:19
Manu_8127-Oct-05 10:19 
QuestionInscrease width of columns in datagrid Pin
cppdotnet27-Oct-05 7:55
cppdotnet27-Oct-05 7:55 
AnswerRe: Inscrease width of columns in datagrid Pin
Chris Losinger27-Oct-05 8:52
professionalChris Losinger27-Oct-05 8:52 
GeneralRe: Inscrease width of columns in datagrid Pin
cppdotnet27-Oct-05 9:04
cppdotnet27-Oct-05 9:04 
GeneralI tried Pin
cppdotnet27-Oct-05 9:10
cppdotnet27-Oct-05 9:10 
QuestionMultibyte strings not displaying correctly Pin
Ian Bowler27-Oct-05 7:00
Ian Bowler27-Oct-05 7:00 
AnswerRe: Multibyte strings not displaying correctly Pin
Prakash Nadar27-Oct-05 8:35
Prakash Nadar27-Oct-05 8:35 
GeneralRe: Multibyte strings not displaying correctly Pin
Ian Bowler27-Oct-05 8:45
Ian Bowler27-Oct-05 8:45 
QuestionRe: Multibyte strings not displaying correctly Pin
Prakash Nadar27-Oct-05 16:16
Prakash Nadar27-Oct-05 16:16 
QuestionConverting try/catch to __try/something Pin
integerous27-Oct-05 6:31
integerous27-Oct-05 6:31 
AnswerRe: Converting try/catch to __try/something Pin
toxcct27-Oct-05 7:43
toxcct27-Oct-05 7:43 
GeneralRe: Converting try/catch to __try/something Pin
integerous27-Oct-05 12:57
integerous27-Oct-05 12:57 
QuestionSecure IPC Pin
Chintoo72327-Oct-05 5:59
Chintoo72327-Oct-05 5:59 
AnswerRe: Secure IPC Pin
ThatsAlok27-Oct-05 22:25
ThatsAlok27-Oct-05 22:25 
QuestionWhat's this? Pin
Le Sourcier27-Oct-05 5:41
Le Sourcier27-Oct-05 5:41 
I've created an application with runs as a plugin for Microstation.
My application is a DLL whose functions are called by Microstation in a specific lanaguage.

if my function launch a dialog box like this
definition:
extern "C" __declspec(dllexport) BOOL fooSystem_showAboutBox();

implementation:
BOOL fooSystem_showAboutBox()
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
try
{
theApp.showAboutBox();
}
catch(...)
{
return FALSE;
}
return TRUE;
}

//in foo.cpp
void CFooApp::showAboutBox()
{
CAboutDialog dlgAbout;
dlgAbout.DoModal();
}

then, the "about" dialog is not able to intercept any messages like WM_TIMER, and the function PreTranslateMessage is never reached. This problem is also valid for theApp.

There isn't any other classes which may intercept messages before my function (maybe except one from MFC hierarchy) or implementing the virtual function PreTranslateMessage.

I really don't understand this.

Have you any idea about this issue ?
Thanks.

Firejano

-- modified at 11:42 Thursday 27th October, 2005
Question Hash string function that keeps compare properties Pin
Kochise27-Oct-05 5:27
Kochise27-Oct-05 5:27 
AnswerRe: Hash string function that keeps compare properties Pin
Chris Losinger27-Oct-05 7:30
professionalChris Losinger27-Oct-05 7:30 

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.