How using pinvoke to force change border style to none of window?
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 开发者_Python百科over problem where each computer opens this window with another param size.
I have specific window with its intPtr hwnd.
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
精彩评论