Simple way to update ToolTip and/or Caption (Text) of a form?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • raylopez99

    #1

    Simple way to update ToolTip and/or Caption (Text) of a form?

    I have a string that is constantly changing. I would like to display
    the string in the caption and/or in a ToolTip when the form is
    minimized.

    I have done this successfully--save one problem: the string is
    'frozen' and not constantly undated when it's minimized--it only shows
    the value of the string at the moment the window was minimized.

    But, when the window is maximized (or not minimized), the caption
    displays the string correctly (with the current, correct,
    instantaneous value of the string), as does the tool tip (if you hover
    the tooltip over the form).

    Any ideas? I'm sure one of you have run across this problem.

    I can think of maybe setting up a clock .Tick event and somehow
    updating the caption this way, but there has to be a more elegant way.

    Any ideas appreciated.

    Using VS2008 for C# Forms.

    RL
Working...