开发者

How using pinvoke to force change border style to none of window?

开发者 https://www.devze.com 2023-04-09 15:55 出处:网络
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?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消