CozyrssDevelopment Record20-canresizewithgrip1. Window style
First, There are four types of WindowStyle:
Then, for the resizemodeof window scaling,There are also four kinds,canresize and canresizewithgrip Two can be dragged and scaled, Canresizewithgrip there is a grid in the lower right corner:
2. No border and can be scaled
If the resizemode of the window is set to Canresize, the window has a border even if the WindowStyle is set to None. the cozyrss requirements are borderless.
Implementation is borderless and scalable, and some methods are available on the web. Two of the more common ones are the use of hooks to handle Windows messaging implementations, and the custom window styles.
In fact, there is a more interesting approach:
Although some side effects may occur, it is ok now .
Cozyrss Development Record 20-canresizewithgrip