2

Is it possible to change border style of window to have no border, using pinvoke? If it isn't possible, how can i get the client rectangle without borders? I am standing over problem where each computer opens this window with another param size.

I have specific window with its intPtr hwnd.

deadfish
  • 11,996
  • 12
  • 87
  • 136

1 Answers1

2

You can use SetWindowLong winapi function to set window style. Just use only necessary styles that do not include WS_THICKFRAME or WS_BORDER or similar

SetWindowLong and List of windows styles

Here is the similar question

Community
  • 1
  • 1
username
  • 3,378
  • 5
  • 44
  • 75