Re: MFC application with its own desktop

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



This sounds like a bizarre interface, unlike anything the users will expect. Therefore,
you are going to have a lot of problems when you deploy it, because users will expect to
have a desktop that belongs to them, not one you have created yourself.

It sounds like you want an application with multiple top-level windows. On the whole,
this model was abandoned years ago (VB used it, and VB was nearly unusable until its IDE
was replaced by one compatible with every other app in existence). Where it still remains
is for things like Office and apps that resemble Office apps, so that each "view" is
actually a full top-level window. Is this what you are looking for?

Essentially, you have fastened on a design idea and you're asking how to make it work, but
you haven't actually said the desired effect you really want, and that makes it hard to
tell you if there is a more reasonable alternative. The statement "put different
forms/child windows onto that for different purposes" is really, really vague.

Before a beginner embarks on creating nonstandard interfaces, it is best to look for
standard interfaces that solve the problem. Otherwise, you confuse your whole learning
process by adding gratuitous complexity, and create something that will ultimately confuse
most users.
joe


On 17 Nov 2006 09:20:36 -0800, "gilbert@gmail" <gilbert.cheung@xxxxxxxxx> wrote:

Hello!

I am a new guy in mfc. I wanna write an application that has its own
desktop, such that I can put different forms/child windows onto that
for different purposes. I checked on MDI of mfc but it seems not the
thing I am looking for. I'd like to know what is the best route I
should take from here. Thank you very much!

Regards,
Gilbert
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: MFC and COM components
    ... The COM work, beside trying to use it now a MFC application, it was mostly for the SDK considerations. ... The .NET DLLs created from these allow me to create COM interfaces as well. ... Java A streaming I/O proxy class based framework. ... drawback is that the entire binary file becomes part of the "source ...
    (microsoft.public.vc.mfc)
  • Re: Making MFC application to expose COM interfaces
    ... > So what you mean to say is that if the MFC application, ... > Server since it is going to expose interfaces, ... > I double click the MFC Server from explorer. ...
    (microsoft.public.vc.atl)
  • Re: 3270 emulator?
    ... development for phones) I can report it is great fun to program. ... thumbnails of your full screen apps ... therefore implement what are generally accepted interfaces. ... fingers to taunt the enemy... ...
    (comp.lang.cobol)
  • Re: Input on graphic libraires
    ... > MFC - I am very familiar with MFC and I know it advantages well. ... > wxWindows - I just discovered this. ... building - libglade, for example, allows you to write your interfaces as ... d dot neary at phenix dot fr ...
    (comp.programming)
  • Re: [9fans] Install from CD fails
    ... suddenly changed but now untested binaries. ... most PLs no amount of type checking of the interfaces can ... on many platforms we've developed a term "bug for bug ... apps got developed that depended critically upon specific ...
    (comp.os.plan9)