Hi!!
I'm doing like a gadget, and i want my program that when u click on shop desktop it doesnt disapear and when u hit alt+tab u wont appear on the list.
How can i do that?
Printable View
Hi!!
I'm doing like a gadget, and i want my program that when u click on shop desktop it doesnt disapear and when u hit alt+tab u wont appear on the list.
How can i do that?
You can check if your window is iconic, and if it is then to reshow it.
how to check if it is iconic?
With the IsIconic function: http://msdn2.microsoft.com/en-us/library/ms633527.aspx
In what event do i have to check if it is iconic or not and if yes maximize the form?
This isn't really a question for the VB.NET forum because this will have to be done with unmanaged code. We can tell you how to declare and call Windows API functions in VB.NET, but to know which functions to call is really a question for the API forum.
I went looking before i post that last post and i find this: IsIconic. In other words the IsIconic API already exists in VB.Net so it isnt unmanaged code. Since there isnt any event called WindowStateChanged, I just need to know in each event i can check if the form was minimized. i know the code to check if it was minimized or not. Like i said in the first post
Quote:
Originally Posted by Lasering
When you minimise a window its SizeChanged event is raised, so you can check the WindowState in the SizeChanged event handler.