Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Set window into Alt tab but not in taskbar

44 views
Skip to first unread message

Jens Müller

unread,
Jan 17, 2004, 10:23:22 AM1/17/04
to
Hello,

I want my Form to be shown in the alt-tab list, but not in the taskbar.

If I set showintaskbar=false it is also not shown in the alt tab list.

How can I do it? Perhaps somehow with SetWindowLong?

Thank you,

Jens

P.S.: I know that it must be possible, because if you right-click on a
shortcut, then preferences, that window is not in the task bar, but in
alt+tab.

Randy Birch

unread,
Jan 17, 2004, 11:22:13 AM1/17/04
to
Not in XP it doesn't.

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.

There's no place like 127.0.0.1


"Jens Müller" <jens_0....@hotmail.com> wrote in message
news:OHMCo3Q3...@tk2msftngp13.phx.gbl...
: Hello,

:


Jens Müller

unread,
Jan 17, 2004, 12:04:33 PM1/17/04
to
Hello,

> : P.S.: I know that it must be possible, because if you right-click
on a
> : shortcut, then preferences, that window is not in the task bar, but
in
> : alt+tab.
>

> Not in XP it doesn't.

In '98 (SE) at least. How can I imitate this?

Thank you for any help,

Jens

Eiji Sakumura

unread,
Jan 17, 2004, 2:38:40 PM1/17/04
to
Hello

> I want my Form to be shown in the alt-tab list, but not in the taskbar.

Please refer to the following.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/ifaces/itaskbarlist/itaskbarlist.asp

>Perhaps somehow with SetWindowLong?

I think that it cannot.
http://support.microsoft.com/default.aspx?scid=kb;en-us;205158

#I am not good at English.
#This information is not verified.
Thank you
---
Eiji Sakumura
esak...@projecti.co.jp

Jens Müller

unread,
Jan 18, 2004, 6:20:09 AM1/18/04
to
Hello,

> Not in XP it doesn't.

Yes it has to be possible: look here
http://web217.server11.glai.de/link.jpg

That window is in the Alt+Tab list, but not in the task bar.

How can I do this with my VB form?
Thank you!
Jens

Randy Birch

unread,
Jan 18, 2004, 8:03:04 AM1/18/04
to
Try setting your form's borderstyle 3-fixed.

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.

There's no place like 127.0.0.1


"Jens Müller" <jens_0....@hotmail.com> wrote in message

news:OwwrZUb...@tk2msftngp13.phx.gbl...
: Hello,

:


Jens Müller

unread,
Jan 18, 2004, 9:26:33 AM1/18/04
to
> Try setting your form's borderstyle 3-fixed.

Now ShowIntaskbar = false does not show it in taskbar, but neither in
alt tab.
Showintaskbar = true shows it in both :(

Jens

Randy Birch

unread,
Jan 18, 2004, 9:46:34 AM1/18/04
to
Sorry ... on XP, running from the IDE, the form shows in the atl+tab list
(along with a separate VB IDE icon) but not in the taskbar. Running as an
exe hides the app from both.

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.

There's no place like 127.0.0.1


"Jens Müller" <jens_0....@hotmail.com> wrote in message

news:#j2Wu8c3...@TK2MSFTNGP12.phx.gbl...
: > Try setting your form's borderstyle 3-fixed.

:


Jens Müller

unread,
Jan 18, 2004, 11:22:53 AM1/18/04
to
Hello,

> I want my Form to be shown in the alt-tab list, but not in the
taskbar.

I found a solution:
ShowInTaskbar set to false and then add the EXstyle
WS_EX_CONTROLPARENT.

Jens

Randy Birch

unread,
Jan 18, 2004, 11:32:14 AM1/18/04
to
Good to know. Thanks.

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.

There's no place like 127.0.0.1


"Jens Müller" <jens_0....@hotmail.com> wrote in message

news:ukPH09d...@tk2msftngp13.phx.gbl...
: Hello,

:


0 new messages