Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to receive outgoing message Pin
Antti Keskinen16-Jul-04 8:22
Antti Keskinen16-Jul-04 8:22 
GeneralRe: how to receive outgoing message Pin
Anton Zarubin17-Jul-04 0:36
Anton Zarubin17-Jul-04 0:36 
GeneralRe: how to receive outgoing message Pin
Antti Keskinen17-Jul-04 5:30
Antti Keskinen17-Jul-04 5:30 
GeneralWindows Logon Dialog Pin
Anthony988716-Jul-04 5:11
Anthony988716-Jul-04 5:11 
GeneralRe: Windows Logon Dialog Pin
David Crow16-Jul-04 5:21
David Crow16-Jul-04 5:21 
GeneralRe: Windows Logon Dialog Pin
Antony M Kancidrowski16-Jul-04 5:47
Antony M Kancidrowski16-Jul-04 5:47 
Generalsingle instance SDI Pin
vanne16-Jul-04 4:41
vanne16-Jul-04 4:41 
GeneralRe: single instance SDI Pin
Antti Keskinen16-Jul-04 8:39
Antti Keskinen16-Jul-04 8:39 
Not off-topic, but you've mistaken in several terms pretty badly.

Let's presume that you have an application. When you run it, Windows creates an instance of the application. This instance can create windows using CreateWindowEx. The windows created by CreateWindowEx are not "instances". They are called window objects, and belong to the instance of the application. So the question "what exactly is it in the way they call.." is illogical. There is no such way as the function doesn't create new instances.

Now, you can use the instructions in this article to limit your application to a single instance. Then create as many window objects as you need. Remember to destroy them afterwards, or you'll end up with memory leaks...

The MDI Child windows (child frames) cannot float outside the main MDI frame window. Microsoft calls this "Behaviour by design". It is designed to work this way, this is the idea of how it should work. If you need to change it, then MDI is not the approach you should use. Instead, just create multiple normal windows. They can float around the screen in any way you please.

-Antti Keskinen



----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralMemory Process Pin
VietDelphi16-Jul-04 4:30
VietDelphi16-Jul-04 4:30 
GeneralRe: Memory Process Pin
David Crow16-Jul-04 4:52
David Crow16-Jul-04 4:52 
GeneralRe: Memory Process Pin
Maximilien16-Jul-04 4:57
Maximilien16-Jul-04 4:57 
GeneralRe: Memory Process Pin
VietDelphi16-Jul-04 5:06
VietDelphi16-Jul-04 5:06 
GeneralRe: Memory Process Pin
David Crow16-Jul-04 5:16
David Crow16-Jul-04 5:16 
GeneralRe: Memory Process Pin
bikram singh16-Jul-04 12:01
bikram singh16-Jul-04 12:01 
QuestionMFC with Multiple Dialogs?? Pin
Kunal Shetye16-Jul-04 4:00
Kunal Shetye16-Jul-04 4:00 
AnswerRe: MFC with Multiple Dialogs?? Pin
David Crow16-Jul-04 4:49
David Crow16-Jul-04 4:49 
AnswerRe: MFC with Multiple Dialogs?? Pin
Maximilien16-Jul-04 5:06
Maximilien16-Jul-04 5:06 
GeneralRe: how to get access to the outbox folder Pin
David Crow16-Jul-04 4:46
David Crow16-Jul-04 4:46 
Generalwin32 dll linking problem Pin
ns16-Jul-04 3:43
ns16-Jul-04 3:43 
GeneralRe: win32 dll linking problem Pin
Antti Keskinen16-Jul-04 8:44
Antti Keskinen16-Jul-04 8:44 
GeneralRe: win32 dll linking problem Pin
bonosa16-Jul-04 23:39
bonosa16-Jul-04 23:39 
Generalclipboard Pin
albd16-Jul-04 3:13
albd16-Jul-04 3:13 
GeneralRe: clipboard Pin
vcplusplus16-Jul-04 3:31
vcplusplus16-Jul-04 3:31 
GeneralMultiple views in one frame Pin
Maarten Kools16-Jul-04 1:45
professionalMaarten Kools16-Jul-04 1:45 
GeneralRe: Multiple views in one frame Pin
Anonymous16-Jul-04 1:48
Anonymous16-Jul-04 1:48 

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.