How to Hide the Win95 System Tray from VB3

by Mark Trescowthick - GUI Computing

One thing about Windows ‘95 is that its "friendly" system tray can sometimes get in the way if you need a full-screen look in an application.

I was working on such a program recently, which looked great in workgroups, but positively average under Win95 - the system tray just oughtn’t to have been there.

A bit of thought, and some poking around window classes, came up with a class name of 'Shell_traywnd' as the class name for that particular window. The rest was pretty straightforward, as the simple demo in Listing One illustrates.

Written by: Mark Trescowthick
Oct 95