Re: Alt+Tab Icon with modal dialog
- From: alpine <alpine_don'tsendspam@xxxxxxxx>
- Date: Thu, 27 Oct 2005 07:59:37 -0600
You can mimic modal behavior by disabling all forms that are already
visible in your app and then show your dialog non-modally but with
it's owner set to the form that should own the dialog.
If you need to pause code execution where the dialog is shown, you can
use an API event and enter a DoEvents loop until the event is set in
the unload event of the dialog. For an example procedure, do a Google
search for "showmodal alpine vb -.net"
http://groups.google.com/advanced_group_search
HTH,
Bryan
_______________________________
Bryan Stafford
New Vision Software
newvision_don'tspam@xxxxxxxx
On Thu, 27 Oct 2005 10:07:51 GMT, "Mike"
<mike@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>Hi,
>
>I am opening a form so:
> frmA.Show vbModal, Me
>at which point the main app icon no longer shows up during Alt+Tab
>switching, neither does the icon for the modal dialog. The borderstyle is
>set to 3-fixed dialog for the modal form. How do I get the icon of the
>modal form (which I want to keep modal) into the alt+tab switching window ?
>
>vb6 on XP sp2
>
>thanks
>
>Mike
.
- Follow-Ups:
- Re: Alt+Tab Icon with modal dialog
- From: Ken Halter
- Re: Alt+Tab Icon with modal dialog
- References:
- Alt+Tab Icon with modal dialog
- From: Mike
- Alt+Tab Icon with modal dialog
- Prev by Date: Alt+Tab Icon with modal dialog
- Next by Date: Re: Alt+Tab Icon with modal dialog
- Previous by thread: Alt+Tab Icon with modal dialog
- Next by thread: Re: Alt+Tab Icon with modal dialog
- Index(es):
Relevant Pages
|