Re: How to minimize form owner when a form is minimized?

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



Yes, the form is being created on-the-fly, but the code below does not work.
Just try it. Create a project with two forms, then write that code in the
first form's Click event or something. If you minimize the owned form, the
owner still stays visible. :-(


"Chris" <ccalzaretta@xxxxxxxxxxx> wrote in message
news:usblsT%23rFHA.3936@xxxxxxxxxxxxxxxxxxxxxxx
> if you are createing the form on the fly before the control has added it,
> I belive that code below will work
> "Don" <unknown@xxxxxxxxxxxx> wrote in message
> news:58ZRe.61608$Hk.14827@xxxxxxxxxxx
>> If you have a form that calls another form via the following code:
>>
>> Dim myForm as Form2
>> myForm = New Form2
>> myForm.Owner = Me
>> MyForm.ShowDialog
>>
>> and you minimize the second form, the first form remains visible (albeit
>> completely disabled).
>>
>> Is there anyway to make a form's owner minimize when a form is minimized?
>>
>> - Don
>>
>
>


.



Relevant Pages