Re: Modal Form Causes Task Switcher Icon to Disappear
- From: erewhon@xxxxxxxxxx (J French)
- Date: Thu, 13 Apr 2006 09:12:15 GMT
On 12 Apr 2006 12:04:32 -0700, handshaper@xxxxxxxxx wrote:
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."
Gawd, using VB5 on Win95
I'm getting system crashes every time an MDI child becomes visible
- works fine in the IDE - but crashes when compiled
- works as an EXE on XP, but on two Win95 machines - GPF
There is something funny about MDI Forms ...
I'm going to suggest a cludge
- show the Form modeless, its owner can be the main Form
Something like this (air code)
Private Declare Function WaitMessage _
Lib "user32" () As Long
Private Sub Command1_Click()
Form2.Show vbModeless, MDIParent
MDIParent.Enabled = False
While Form2.Visible = True
WaitMessage
DoEvents
Wend
MDIParent.Enabled = True
End Sub
.
- References:
- Modal Form Causes Task Switcher Icon to Disappear
- From: handshaper
- Re: Modal Form Causes Task Switcher Icon to Disappear
- From: J French
- Re: Modal Form Causes Task Switcher Icon to Disappear
- From: bpsdg
- Re: Modal Form Causes Task Switcher Icon to Disappear
- From: bpsdg
- Re: Modal Form Causes Task Switcher Icon to Disappear
- From: J French
- Re: Modal Form Causes Task Switcher Icon to Disappear
- From: bpsdg
- Re: Modal Form Causes Task Switcher Icon to Disappear
- From: J French
- Re: Modal Form Causes Task Switcher Icon to Disappear
- From: bpsdg
- Re: Modal Form Causes Task Switcher Icon to Disappear
- From: handshaper
- Modal Form Causes Task Switcher Icon to Disappear
- Prev by Date: Re: use smyleys in vb
- Next by Date: Re: Change mouseicon throughout whole project
- Previous by thread: Re: Modal Form Causes Task Switcher Icon to Disappear
- Next by thread: Scalemode vbTwips vs. vbPixels, and picture quality
- Index(es):
Relevant Pages
|