Archive of UserLand's first discussion group, started October 5, 1998.

Re: MDI environment?

Author:jay@cognitech.com
Posted:10/21/1998; 10:21:18 AM
Topic:Suggestion: Explore the Calendar
Msg #:274 (In response to 271)
Prev/Next:273 / 275

In Windows -- and MFC -- it's actually possible to implement separate windows (à la SDI) with one button in the taskbar (à la MDI and Mac applications/layers). Metrowerks CodeWarrior Pro 3 is an example.

For each primary window you want in the taskbar, give it a NULL parent window.

For secondary windows you want controlled by the same taskbar button (ie. they hide with the primary window), make the primary window its parent and create the secondary with (WS_OVERLAPPEDWINDOW & ~WS_MINIMIZEBOX) style.


There are responses to this message:


This page was archived on 6/13/2001; 4:45:47 PM.

© Copyright 1998-2001 UserLand Software, Inc.