Brett Kornfeld wrote:
>In LabView, maximizing child windows has the problem
>that the menu at the top of the parent window is not
>a MS Windows object so when the child window is
>maximized, it goes right up to the titlebar, thus
>covering the menu.
That's all true if you only make a simple API call.
You will also see your child window jumping.
However it's possible to make child window active like
a true child: confine to the panel area, won't cover
menubar, toolbar and scrollbar; maximize to the panel
instead of the whole client area. I'll send one to you
via private mail this week.
>Now I have been testing many Windows applications on
>my machine that use child windows from "big" programs
>like Adobe's Acrobat to "small" in-house programs.
>
>In every program that I have used, a maximized child
>window titlebar actually disappears. The three boxes
>for minimize, resize, and close change to smaller beige
>objects at the far top right of the parent window's
>toolbar.
>
>Is there any way to achieve this effect in LabView?
>
>LabView is just a programming language and at the very
>least I should be able to call Windows API functions to
>achieve this effect, but I can't find where to even
>begin.
The short answer is no.
Those applications you tested are called MDI
(Multiple Document Interface). Those user interface
are completeLY different structure design. You have
no control of it, not through Window API for an existing
widnow.
Although LabVIEW is a programming language, and you
might simulate a couple features of MDI, it could be
very very messy to simulate most features of MDI.
It's just not worth to try.
George Zou
http://gtoolbox.yeah.net
George Zou