![]() ![]() And I will process the WM_NCCalcSize message. I wrote a GetBorderSpace method to calculate this value, and IsBorderless method to determinate form has a border. That particular value depends on the BorderStyle property of the form, so we need to calculate it accordingly. I realized that by reducing the Top field of the CalcSize_Params.rgrc object by a certain value, the window’s title bar will disappear completely. I will present later.Īs mentioned, we need to handle the WM_NCCalcSize message especially. ![]() You also need to handle form dragging, custom top border drawing, and other miscellaneous things. ![]() Of course, it is resized, has window shade and supports aero snap. Pretty cool, but where is the top border? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |