
Dynamically change caption of a menu
Ok sorry folks, I've not been very clear ;-)
By caption, I was meaning not what is written in the menu itself, but what
is implicitly written on the status bar by the "prompt" field in the menu's
field property. I would have been more clear to say "SetMenuPromptText()"
or maybe "SetMenuStatusBarLabel()". My problem is that I have to
dynamically change what will be written on the status bar, and I would like
to know how to modify what is written in the "prompt" menu property at run
time. And, in the same idea, change the tooltip's text that are comming
from a toolbar, and finally the "prompt" as for the menu. Well, it could
have been three post for those questions, but I think at least the two
prompt's solution will be not too different. Thanks
Quote:
> I would like to dynamically change the caption of a menu of a dialog,
i.e.:
> what will be written at the bottom of the screen on mouse over that menu
> item.
> Is there a function like "SetMenuCaptionText()" ?
> Thanks a lot for any info.
> btw: if you have any hints about doing that for tooltips for a toolbar, it
> would be nice. I'm looking MFC MSDN but find nothing yet.