Re: Modal Form Causes Task Switcher Icon to Disappear



Hi all,

Thanks for your replies. I'm going to throw away the etiquette on
quoting questions... and answer them en masse. My apologies for doing
this. :)

1) The application was developed by a team of developers who ALL have
left (for greener pastures).

2) I created a three form set-up. The application had a MDI Form with
one child form (to mimick the actual application which makes extensive
use of a MDI Form. I avoid MDI Forms...but I got to go with the cards
that have been dealt.). The Child Form has a command button that opens
up Form2 (which is not a child MDI form) in vbModal mode.

I attached an icon to the MDI Form from one of the cursors in the
c:\Winxxx\cursors directory. Built an executable.

Loaded up the executable. Did an ALT+TAB. Lo and behold! The icon
for that app I just created -- baring itself in its full glory on the
ALT+TAB bar. I then clicked on the command button on the child form to
load up the modal Form2.

Guess what? The icon from ALT+TAB did a proverbial vanishing rabbit
from the magician's hat. It's gone. Only after I closed the modal
form did the rabbit decide to come back. The ShowInTaskbar property
for all forms (except MDI) was set to True.

This is an issue that I need to dig some more on. That reminder dialog
pop-up comes up whenever and when it does, the app is "lost."

Thanks again to all who replied.
Todd

.



Relevant Pages

  • Re: notify MDI parent when a child form is about to close...
    ... introduce subclassing for a trivial matter such as this? ... able to trap when the child form is created... ... :> In the MDI Form, write your validation in a Boolean function called ...
    (microsoft.public.vb.general.discussion)
  • Re: Modal Form Causes Task Switcher Icon to Disappear
    ... use of a MDI Form. ... The Child Form has a command button that opens ... I attached an icon to the MDI Form from one of the cursors in the ... Private Sub Command1_Click ...
    (comp.lang.basic.visual.misc)
  • RE: Arranging Child Forms
    ... This will place the form in the top left corner of the MDI form. ... > one child form at a time, moving from form to form as required. ... > is that the MDI form is arranging them cascade and so each time I move to a ... I would like to display each child form so ...
    (microsoft.public.vb.general.discussion)
  • Re: Mdi Form Validating
    ... I am guessing you mean when you switch from one child form to the other. ... I need to validate data in the Mdi form. ... How can I keep the focus in MdiForm1 when the user wants to change ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to remove the icon of child form?
    ... Sakharam Phapale schrieb: ... I am showing the icon on MDI form. ...
    (microsoft.public.dotnet.languages.vb)