Tooltips don't come back RRS feed

  • Question

  • Hello MSDN,



    I got a Form instance (which is displayed as a modal dialog) in which I place controls like CheckBoxes and RadioButtons. To each of these controls I assign ToolTip instances with the following properties:


    Code Snippet

    tt->AutoPopDelay = 5000;

    tt->InitialDelay = 200;

    tt->ReshowDelay = 250;



    The tooltips work fine until I hit the checkbox or radiobutton for the first time -- after that, the tooltips don't show up anymore. It doesn't help to un-check the checkbox or radiobutton. Neither is this a focus problem.


    Is this a bug or do I just have to set a special property in order to have the tooltips re-appear again?






    Monday, May 19, 2008 10:07 AM



    Hi GermanAsperger,

    Based on my understanding, it is the default behavior of the ToolTip. When user click on the control, this indicated that the user know what will be done when click the control, so the Tooltip will hide. To show the ToolTip all the time, you can manually can the Show method of the ToolTip.

    Code Snippet

        public partial class Form19 : Form


            public Form19()




                this.toolTip1.SetToolTip(this.checkBox1, "CheckBox1");

                this.toolTip1.SetToolTip(this.checkBox2, "CheckBox2");

                this.toolTip1.SetToolTip(this.radioButton1, "RadioButton1");

                this.toolTip1.SetToolTip(this.radioButton2, "RadioButton2");

                this.toolTip1.SetToolTip(this.radioButton3, "RadioButton3");

                this.toolTip1.AutoPopDelay = 5000;

                this.toolTip1.InitialDelay = 200;

                this.toolTip1.ReshowDelay = 250;



            private void checkBox1_MouseClick(object sender, MouseEventArgs e)


                this.toolTip1.Show("CheckBox1", this.checkBox1);




    Hope this helps.
    Best regards.
    Rong-Chun Zhang

    Windows Forms General FAQs
    Windows Forms Data Controls and Databinding FAQs

    Friday, May 23, 2008 11:44 AM