Jump to content
Sign in to follow this  
ManDay

Dialogs Question

Recommended Posts

I got a static-Widget in my Dialog but when I click it (it is supposed to be a label) it becomes highlighted with a border. How can I prevent it from becoming this sort of "interactive"?

---edit--- sorry for that simple question im pretty new to dialogs. maybe if somone else got another question with regards to dialogs and widget he may ask it here.

Share this post


Link to post
Share on other sites

Doesn't sound like it's a label. It's probably either a ActiveText or a Button.

An ActiveText can become underlined when focused. A button can have a border when focused.

What you want to use is an RscText of Type CT_Static.

Check the value of your control's "type" property:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#define CT_STATIC 0

#define CT_BUTTON 1

#define CT_ACTIVETEXT 11

class RscText { type = CT_STATIC; ... };

class RscActiveText { type = CT_ACTIVETEXT; ... };

class RscButton { type = CT_BUTTON; ... };

Or you could set it's focused or border color to clear {0,0,0,0} or it's border size to 0 depending on it's type.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×