Icon for "ShowInTaskbar", VB4, Win95 (32bit) 
Author Message
 Icon for "ShowInTaskbar", VB4, Win95 (32bit)

I've created an icon for a custom application, and it shows in the
taskbar when I minimize the application.

But when you press ALT-TAB, it never shows my icon: it shows the
"blank form" icon from VB.  This is from the executable version.

Does anyone know how to get my icon to show? Do I need to set an
extra switch, or make an API call?

Thanks.

Peter Diehr



Fri, 19 Mar 1999 03:00:00 GMT  
 Icon for "ShowInTaskbar", VB4, Win95 (32bit)



Quote:
> I've created an icon for a custom application, and it shows in the
> taskbar when I minimize the application.

> But when you press ALT-TAB, it never shows my icon: it shows the
> "blank form" icon from VB.  This is from the executable version.

> Does anyone know how to get my icon to show? Do I need to set an
> extra switch, or make an API call?

> Thanks.

> Peter Diehr


I just tried this and it seems that the icon shown in the taskbar is the
one associated with the active form (assuming thea frm.ShowinTaskBar=True),
but in the task switcher it shows the icon associated with the .exe file
(not necessarily the same).

try setting you .exe icon to the one for you form "Options..." at "Make
Exe" time.

Hope it helps.

--



Sat, 20 Mar 1999 03:00:00 GMT  
 Icon for "ShowInTaskbar", VB4, Win95 (32bit)



Quote:
>I've created an icon for a custom application, and it shows in the
>taskbar when I minimize the application.

>But when you press ALT-TAB, it never shows my icon: it shows the
>"blank form" icon from VB.  This is from the executable version.

>Does anyone know how to get my icon to show?

Alt-tab will show the icon from the EXE So you have to set the icon
for the EXE. This can be done as follows:

1. Set your Icon as the icon for a (main) form
2. Select make exe
3. Options
4. For Icon. choose the appropriate form
Pronto

CHeers,
Michiel Magnee

Quote:
> Do I need to set an
>extra switch, or make an API call?

>Thanks.

>Peter Diehr




Mon, 22 Mar 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. *"*-.,._,.-*"* I"LL TRADE VISUAL C++ FOR VBASIC *"*-.,_,.-*"*

2. VB6 "illegal opeation" message in Win95

3. "print" vb3 win95 problem

4. "Out of Memory" error on Win95

5. Win95 "Run..." commands

6. How do access Win95 "find"...

7. Sue's "clear icon" code

8. Change "What's This" icon

9. "Just drag the icon..."

10. Name of Icons for "VCR" look

11. Help "Bubbles" with icons

12. "Shrinking" an Icon

 

 
Powered by phpBB® Forum Software