Link to home
Start Free TrialLog in
Avatar of sirbounty
sirbountyFlag for United States of America

asked on

form disappearing

I'd asked how to drop some data beneath the start button (https://www.experts-exchange.com/questions/23508748/Manipulating-the-start-bar-in-XP.html).
It works, at least for the first few passes.
However, without warning, at some point after the form's been loaded, I can look down there and it's simply gone...no data being displayed at all...

me.Visible is true,
windowstate is normal
Height is 20/Width is 90 (as expected)
TopLevel is true
StartPos is manual

Changing the color doesn't seem to register.
What can I check?  Any idea why it's MIA?
Avatar of sirbounty
sirbounty
Flag of United States of America image

ASKER

I can duplicate it if I hit WindowsKey+D (shrink to desktop).  It doesn't disappear the 'first' time, when everything is minimized, but if I hit it again, to restore everything to it's prior state, the form disappears...
SOLUTION
Avatar of GHCS_Mark
GHCS_Mark
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Neither of those hit after the form is loaded (good thinking though).
I even tried the min/max events, but nothing there either...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Screen position is correct.
Not sure where you're going with owner/parent, but a quick search on z-order brought up the bringtofront method for the form, so I tossed that in there for good measure.

Already have the timer, so I added the topmost=true in there as well.

Something seems to have worked at any rate - my attempt to duplicate it still causes it to disappear, but it's finally reappearing when the timer fires.

I'll play with it to narrow it down and continue testing just to be sure.
Thanx gang!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial