Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Setting Title on CBoldExtButton Collapse All
Subject Author Date
Rathnakara Malatesha Oct 16, 2007 - 11:44 AM


I am using CBoldExtButton for my application and i want to change the title of this dynamically. Can I know which method/function I can use to do this? I did not see any simple methods like SetTitle or SetText to do that. Thanks and appreciate your help.

Thanks & Regards

Technical Support Oct 18, 2007 - 1:22 PM

Because SetWindowText() works with CExtButton correctly, that means your CBoldExtButton class modifies some behavior and the result is that you cannot change the text. What is this class doing? What the methods it overrides? If you send us the source code, we can try to find out what may be wrong.

Rathnakara Malatesha Oct 16, 2007 - 1:39 PM

We are using CBoldExtButton which is derived from CExtButton. I tried SetWindowText on that, but apparently it does not work.

Technical Support Oct 16, 2007 - 12:41 PM

What is the CBoldExtButton? There is no such class in Prof-UIS. Anyway if it is a window, you can use the SetWindowText()/GetWindowText() methods.