Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
755
How to hide close button and the symbol on top left
posted

Hi infragistics team 

How can I hide or disable the close button and the left top symbol as show on picture below:

Thanks

Parents
No Data
Reply
  • 6365
    Offline posted

    Hello,

     

    Thank you for choosing Infragistics.

     

    I have been looking into your issue and I have prepared a sample application for you to test.

     

    In order to achieve the behavior you have described, an approach I can suggest you is to use the GetWindowLong and SetWindowLong static methods imported from the "user32" dll. In the Loaded event of the Window I have invoked the SetWindowLong method and I have used the Window's handler and a couple of integer constants to adjust the window according to the behavior you have described.

     

    If you require any further assistance on this matter, please let me know.

     

    SampleApplication.zip
Children