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.
You can use
SetWindowLongwinapi function to set window style. Just use only necessary styles that do not includeWS_THICKFRAMEorWS_BORDERor similarSetWindowLong and List of windows styles
Here is the similar question