Skin applied to particular dialog |
Post Reply |
Author | ||
himanshu
Groupie Joined: 04 January 2008 Status: Offline Points: 81 |
Post Options
Thanks(0)
Posted: 10 April 2008 at 6:01am |
|
Hi
If we apply skin effect in application it gets applied to everything .
e.g. All the dialogs i application we show the same skin effect.
Is there a way to apply skin in such a way that only some/particular dialogs will show the skin effect and others don't
I mean i want selectively for the dialogs/other controls to show the skin effect .
Could we do that?
Secondly the files used to apply skin .cjstyle files could we edit those files
if yes how to do that.
Thanks in advance
Himanshu
|
||
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
|
Hi,
Call SetAutoApplyNewWindows(FALSE) and apply windows you only need.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
himanshu
Groupie Joined: 04 January 2008 Status: Offline Points: 81 |
Post Options
Thanks(0)
|
|
Hi
where to call that function and how to apply for particular windows only.
|
||
pijnappel
Groupie Joined: 30 November 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
|
|
I have a similar problem.
I am using the following code to load the skin:
To assign a window I use:
The applied dialog is skinned, but the colors of the loaded skin are also applied to the other dialogs. For instance the background of static text controls is different from the default windows skin. Example of the loaded skin: Another dialog as it should be: And that's how it looks like when the other theme is loaded: |
||
xhantt
Newbie Joined: 16 April 2008 Location: Argentina Status: Offline Points: 6 |
Post Options
Thanks(0)
|
|
In my case if I set this options before any other operation
it seems to work. But I don't know if this is the correct solution, I'm glad to know other approaches. |
||
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
|
Yes, its only right solution.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
pijnappel
Groupie Joined: 30 November 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
|
|
That worked...thanks |
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |