Home > Net >  After the task bar at the bottom of the hidden, the task bar at the bottom of the region or can'
After the task bar at the bottom of the hidden, the task bar at the bottom of the region or can'

Time:11-23

Dear brother

Hide task bar at the bottom of the now, but found that the position of the task bar at the bottom or, where is the program cannot use this part of the space,

The diagram below, you can see the desktop background leak out,

Excuse me, how to hide task bar at the bottom of this area and can be used up?

I now purpose:
Maximize winform window is not set, but the window size is set to screen resolution size,

If set winform window to maximize, the position of the taskbar is the window that can be covered, but now because of special reasons, cannot maximize Settings window,

Thanks brother give directions!

CodePudding user response:

Found the reason, the use of this API: SetWindowPos can not directly set the window size,
  •  Tags:  
  • C#
  • Related