Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MDI implementation

4 views
Skip to first unread message

Hans-J. Ude

unread,
Apr 3, 2009, 4:03:09 PM4/3/09
to
Does anybody know what's under the hood of MDI in MFC, if it's the WinAPI
interface or if it brings it's own implementation? I don't have a particular
project for that, just a general question. If it's API it's possibly
difficult to intercept something.

Hans

Ajay

unread,
Apr 3, 2009, 4:21:53 PM4/3/09
to

MFC uses Win32 implementation of MDI. It has its own framework on top
of it but the core work is done using Win32.

--
Ajay

Hans-J. Ude

unread,
Apr 3, 2009, 4:30:59 PM4/3/09
to
Ajay <ajay...@yahoo.com> schrieb:

Thanks Ajay, that's what I suspected.

Hans

Ajay

unread,
Apr 3, 2009, 4:39:42 PM4/3/09
to
On Apr 3, 4:30 pm, Hans-J. Ude <n...@s237965939.online.de> wrote:

> Thanks Ajay, that's what I suspected.
>

Sure. You can actually use Spy++ and see the window classes having the
same traditional names as a Win32 app.

--
Ajay

Joseph M. Newcomer

unread,
Apr 3, 2009, 9:11:37 PM4/3/09
to
It's just C++ code that calls the raw Win32 API. The rest is pleasant framework to make
your life easier.

There's nothing special about what it does; if you felt in need of experiencing pain and
suffering you can do everything MFC's MDI class does, using WM_MDIxxxxx messages.

What is the "something" you need to intercept? (Pretty much everything that you might
want to do is trivially achievable within the MFC MDI framework; the obscure things are
not that much harder).

For all practical purposes, there isn't any way to talk to the Windows operating system
except the Win32 API (unless you consider the Win64 system to be the "Win64 API")
joe

Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

0 new messages