|
-
Jul 19th, 2000, 09:29 AM
#1
Thread Starter
Hyperactive Member
I have a form that acts as a task bar, which acts like the office and the taskbar. But if someone hits the show desktop button, which clears all the windows and bring you to the desktop on the first click and on the second restores all the windows.
Is there a way I can have my program now that the show desktop button was pressed and it needs to put itself back on the screen?
-
Jul 19th, 2000, 09:32 AM
#2
Frenzied Member
Dont you get something like a minimized event? and just open it again?
what do you use to keep it in front?
Sanity is a full time job
Puh das war harter Stoff!
-
Jul 19th, 2000, 09:35 AM
#3
Thread Starter
Hyperactive Member
i use api calls, to query for allowable position and reserve the space using shappbarmessage api.
I was just thinking about the minimized event, does the show desktop just minimize all the windows?
-
Jul 19th, 2000, 09:39 AM
#4
Frenzied Member
There is no minimize event at all it seems! hahah
A way that works is to do subclassing but I'm not good at subclassing and I don't like it because it slows down!
if you want to know more about subclassing just open a new thread!
Sanity is a full time job
Puh das war harter Stoff!
-
Jul 19th, 2000, 09:45 AM
#5
Thread Starter
Hyperactive Member
Yeah I know there is no minimize event, but it calls the resize event if your form is minimized.
So i tried this
Code:
Private Sub Form_Resize()
If Me.WindowState = vbMinimized Then
Me.WindowState = vbNormal
End If
End Sub
This doesnt work when the show desktop button is pressed, so I believe that the show desktop does not minimize the windows but instead maybe puts them behind the desktop or something.
-
Jul 19th, 2000, 10:04 AM
#6
Thread Starter
Hyperactive Member
Sometimes I think Microshaft makes the search engine on their website bring nothing but unrelated crap up.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|