Dynamically hiddendisplay window of the title bar (simultaneous Sizeable performance)

xiaoxiao2021-03-06  163

Today, when considering the interface, you want to remove the title bar of the form, but set form.borderstyle: = bsnone; can cause the form to be unabledable (change the form size through the mouse action), and then look at the associated Help. Solution. I finally searched the answer in DFW:

{Setting Properties for Specified Forms} SetWindowl (Handle, {Current Form Handle} GWL_Style, {indicating that the current form (ordinary) style} // get the specified form information getWindowlong (Handle, GWL_Style) and NOT WS_CAPTION)); {Remove the "Title" style in style (s)} height: = clientheight; width: = clientwidth;

转载请注明原文地址:https://www.9cbs.com/read-128167.html

New Post(0)