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
4028
Hiding mdi child icon in main toolbar
posted

Hi,

Here is my situation. I have project which consists of a main form (mdi parent) and a bunch of children forms (mdi children). The main form uses t he ultratoolbarmanager to create a file/edit/view/etc menu up the top. This toolbar is set to IsMainMenu = true.

I have set up all of the mdi child forms so they dont show their icons. This works fine when the forms are normalised. But when I maximise them, it shows their icons (the default windows icon for new forms) in the top left of the main toolbar on the mdi parent.

My question is, how do I stop the mdi childs icons showing when maximised? I dont wish to see the mdi child's icons, ever.

Thanks

  • 71886
    Offline posted

    Hello,

    A possible approach to remove the child icons from the toolbar would be using a CreationFilter.You could read about it at the following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Win_Creation_Filter.html.

    Could you please review the sample attached to this post and see if it meets your requirements.

    Please feel free to let me know if I misunderstood you or if you have any other questions.

    ChildIconCF.zip