Change the Gribber of Resizeable Dialog |
Post Reply |
Author | |
Ocrana
Groupie Joined: 20 November 2007 Status: Offline Points: 32 |
Post Options
Thanks(0)
Posted: 14 October 2008 at 9:08pm |
Hello,
I use the skinframework inside a dialogbased app. Everything is fine. But after changing the backgroundcolor of the dialog, while using the vista skin, the grabber of the resizeable dialog is still the color of the original skin. Like change the background of the dialog (ONCOLORCTL) to black the Grabber is still grey. So what I prefer to do: Change the color of the grabber , too. Or replace the grabber or make the grabber transparent. Thanks, Ocrana |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
I can't reproduce it with CXTResizeDialog. :-(
What is this Grabber ? Something you draw or part of our CXTResizeDialog ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Ocrana
Groupie Joined: 20 November 2007 Status: Offline Points: 32 |
Post Options
Thanks(0)
|
Hi,
please see this image. The grey one is the grabber. I used Skinframework and vista black skin. Background color of dialog was changed. About the grabber. I do not know what it is, or where it comes from (resource, skin or whatever). This is part of my question ;) What I know it is the part of the dialog where I can click on and resize the dialog (resize border). Thanks, Ocrana |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
So do you use CXTResize or CXTResizeDialog ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Ocrana
Groupie Joined: 20 November 2007 Status: Offline Points: 32 |
Post Options
Thanks(0)
|
Hi,
#define CDialogSampleDlgBase CXTPDialogBase<CXTResizeDialog > |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
NOT a fix, but you can remove it using SetFlag(xtResizeNoSizeIcon);
|
|
Ocrana
Groupie Joined: 20 November 2007 Status: Offline Points: 32 |
Post Options
Thanks(0)
|
Ok, this is a "optical" fix. But is there a way to change it, make it transparent or change the color? Like A ResourceID, a Message or whatever?
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Since it is being drawn by a CJ class, it sure looks like a skinning bug to me. Oleg?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Actually I can't reproduce it :(
Ocrana, Can you please open our DialogSample and add
XTPSkinManager()->LoadSkin("Styles\\Office2007.cjstyles");
in constructor. Do you see same?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |