ManDay 0 Posted June 10, 2007 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
dr_eyeball 16 Posted June 10, 2007 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
ManDay 0 Posted June 10, 2007 Hm. Actually I got a type = 0; so its supposed to be a label, hein? http://paste-it.net/2498 Share this post Link to post Share on other sites