Click here to Skip to main content
16,006,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Toggel button with menu open Pin
Ravi Bhavnani15-Oct-04 6:21
professionalRavi Bhavnani15-Oct-04 6:21 
Questionwhat are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
lavate malllik15-Oct-04 0:50
lavate malllik15-Oct-04 0:50 
AnswerRe: what are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
toxcct15-Oct-04 0:55
toxcct15-Oct-04 0:55 
AnswerRe: what are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
Phil J Pearson15-Oct-04 0:59
Phil J Pearson15-Oct-04 0:59 
GeneralRe: what are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
David Crow15-Oct-04 4:46
David Crow15-Oct-04 4:46 
GeneralRe: what are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
Ravi Bhavnani15-Oct-04 6:23
professionalRavi Bhavnani15-Oct-04 6:23 
GeneralMFC message routing weirdness Pin
Phil J Pearson15-Oct-04 0:47
Phil J Pearson15-Oct-04 0:47 
GeneralRe: MFC message routing weirdness Pin
Blake Miller15-Oct-04 4:25
Blake Miller15-Oct-04 4:25 
They are not sharing the same temporary window mapping tables.

Also, the 'main window' of your application is probably being set to the splash window (the first one created).

You might try changing the m_pMainWnd of the CWinApp to your second dialog, once it appears on the screen (perhaps in OnInitDialog), and see if that helps any, then when your splash window is zapped, the program won't think you just killed the 'primary' window of the application.

If that does not work, you might have to create a hidden window to act as the 'top level window' of your program, and use it as the parent for your splash window AND the other dialog. If you choose this route, then pass the HWND, not the CWnd, as the parent to the dialog in the DLL, since you statically linked to MFC within the DLL.


GeneralRe: MFC message routing weirdness Pin
Phil J Pearson15-Oct-04 4:43
Phil J Pearson15-Oct-04 4:43 
GeneralRe: MFC message routing weirdness - solved! Pin
Phil J Pearson15-Oct-04 5:18
Phil J Pearson15-Oct-04 5:18 
QuestionHow can I receive mails that is coming to my outlook in an MFC appliation. Pin
VCSharp00714-Oct-04 23:32
VCSharp00714-Oct-04 23:32 
AnswerRe: How can I receive mails that is coming to my outlook in an MFC appliation. Pin
Mad__14-Oct-04 23:46
Mad__14-Oct-04 23:46 
AnswerRe: How can I receive mails that is coming to my outlook in an MFC appliation. Pin
Sujan Christo14-Oct-04 23:50
Sujan Christo14-Oct-04 23:50 
General[Message Deleted] Pin
sheny14-Oct-04 23:17
sheny14-Oct-04 23:17 
GeneralRe: How many programs uses "this" dll? Pin
Phil J Pearson15-Oct-04 1:15
Phil J Pearson15-Oct-04 1:15 
GeneralRe: How many programs uses "this" dll? Pin
benjymous15-Oct-04 1:45
benjymous15-Oct-04 1:45 
GeneralRe: How many programs uses "this" dll? Pin
Phil J Pearson15-Oct-04 4:14
Phil J Pearson15-Oct-04 4:14 
GeneralData Type conversion. Pin
VCSharp00714-Oct-04 23:14
VCSharp00714-Oct-04 23:14 
GeneralRe: Data Type conversion. Pin
Mad__14-Oct-04 23:32
Mad__14-Oct-04 23:32 
GeneralRe: Data Type conversion. Pin
VCSharp00714-Oct-04 23:35
VCSharp00714-Oct-04 23:35 
GeneralRe: Data Type conversion. Pin
Mad__14-Oct-04 23:40
Mad__14-Oct-04 23:40 
GeneralRe: Data Type conversion. Pin
VCSharp00715-Oct-04 1:25
VCSharp00715-Oct-04 1:25 
GeneralRe: Data Type conversion. Pin
Mad__15-Oct-04 1:34
Mad__15-Oct-04 1:34 
GeneralRe: Data Type conversion. Pin
VCSharp00715-Oct-04 1:55
VCSharp00715-Oct-04 1:55 
GeneralRe: Data Type conversion. Pin
Mad__15-Oct-04 2:00
Mad__15-Oct-04 2:00 

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.