Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows status bar buttons

Status
Not open for further replies.

sggaunt

Programmer
Jul 4, 2001
8,620
GB
I decide to make one of my game apps go full screen using
width := screen.width
height := screen.height
as suggested in an earlier thread, this works fine and the window fills the entire screen.

The only problem is that when the app is shut down it leaves a 'dead' button on the windows status bar (with the app name but a windows icon) if you click it it disapears.
each time the app is started and shut down you get another button, previous ones are now blank.
Does anyone know what causes this and how to stop it.

Steve.
 
Ok It WAS easy. Just setting the form style back to FsNormal at shut down, cures the problem.

Doesnt explain why it happens in the first place, some sort of Windows (98) bug I expect.

Steve.

 
I tried to recreate this problem using windows 2000 and windows XP and couldnt so maybe your right. Still, if you will use Windows 98.....
 
Eric
It's also a case of what my end users might be running, not that many on W2000/XP as yet, I suspect.

Steve..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top