Re: Alt+Tab Icon with modal dialog

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



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
.



Relevant Pages

  • Re: Ping: Hackintoshers.
    ... though I now have an icon on the OSX desktop called 'Select Startup' I ... It's no killer app or deal breaker that's for sure (mainly because I'm ... rarely in OSX in any case), it was just an example of where Apple ...
    (uk.comp.sys.mac)
  • Re: Newbe questions
    ... > remember almost by heart icon at which location represents what. ... > But now I'm new to the RedHat LINIX on KDE and the default behaviour ... > Is there a way to start an app with geometry args ... You will also find here a text editor called "textedit" which I ...
    (comp.os.linux.misc)
  • Re: Tray Icons and custom shell
    ... messages to SysTray to forwarding WM_COMMAND event to some other parts or windows of the same app). ... PostMessage to send the appropriate command to the tray icon window. ... I've a custom shell and therefore no system tray. ...
    (microsoft.public.windowsxp.embedded)
  • Re: [opensuse] KDE 4.3.1 Desktop Errors
    ... KDE 4.3.0 worked ok without such any errors. ... first time after the upgrade that included the new desktop security ... click Continue it should not ask you again for that app and that user. ... Once you say that is OK to run that application, the icon will change and you ...
    (SuSE)
  • Re: [kde] OK -Im trying
    ... icon onto the desktop or onto the panel. ... But I can then close the app and drag it to the desktop folder, ... If I try to drag it to the task bar it crashes kicker Had ... systemsettings> Appearance tab> Fonts? ...
    (KDE)