Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Dialog based application

When one creates an MFC Dialog based application, the resultant executable
is very small and compact (eg < 40 K), but the runtime window is static -
it cannot be minimised or resized.

Can someone advise me what I must add to the project to make the window at
least minimisable. (Perhaps it is better to choose an SDI application at
the outset ? I was hoping to avoid the big overheads.)
[414 byte] By [bill zemek] at [2007-11-10 12:52:37]
# 1 Re: Dialog based application
Hi,
Open the dialog in resource editor. Goto the dialog properties->
Styles. You will find minimize and maximize box toggles. Enable them.

"bill zemek" <bill.zemek@suncorpmetway.com.au> wrote:
>
>When one creates an MFC Dialog based application, the resultant executable
>is very small and compact (eg < 40 K), but the runtime window is static
-
>it cannot be minimised or resized.
>
>Can someone advise me what I must add to the project to make the window
at
>least minimisable. (Perhaps it is better to choose an SDI application at
>the outset ? I was hoping to avoid the big overheads.)
siva at 2007-11-11 20:52:43 >
# 2 Re: Dialog based application
"bill zemek" <bill.zemek@suncorpmetway.com.au> wrote:
>
>When one creates an MFC Dialog based application, the resultant executable
>is very small and compact (eg < 40 K), but the runtime window is static
-
>it cannot be minimised or resized.
>
>Can someone advise me what I must add to the project to make the window
at
>least minimisable. (Perhaps it is better to choose an SDI application at
>the outset ? I was hoping to avoid the big overheads.)

Hi!
In MS VC++ use:
project/resources/Dialog Properties/Styles/check "Minimize Box"
Regards, Yuri
Yuri Kirilenko at 2007-11-11 20:53:48 >