Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

when the window state property of a form is set to maximized, it overlaps the task bar when we run the application.

I don't want the task bar to be hidden and the application should run normally like other apps.

Please give a solution to this.

Thanks
Posted
Comments
jackspero18 19-Oct-13 2:06am    
hey i think its taskbar property....
so right click on taskbar->property -> taskbar appearance
1. tick on the lock task bar
2. romove tick from the auto hide taskbar

1 solution

Hi,

I managed to solve it by adding the below code in the load event of the form

C#
this.Size = Screen.PrimaryScreen.WorkingArea.Size;


Thanks
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900