On 5/1/2011 5:25 AM, RicksPlace wrote:
Hi Jeff: Have you tried sending a Window Message to the message Box? I have never used a WindowMessage in, or out, of WE but from the reading about Windows Messages it sounds like you can do allot with them. I'm not sure about modifying a Button's text after it is displayed but it might be worth a little reading and an experiment to see how it works. That would be the only possible method of modifying the text of controls once displayed and, as you mentioned, the MsgBox buttons are pre-defined so you can't do it at design or compile time as far as I know.

That's a little bit like using nuclear weapons on houseflies. If you want to change the text of a button, use its Control.Text property.

(But, as Chip said, the new text might not fit, so it might look weird to the sighted.)

Reply via email to