Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Change the Gribber of Resizeable Dialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change the Gribber of Resizeable Dialog

 Post Reply Post Reply
Author
Message
Ocrana View Drop Down
Groupie
Groupie


Joined: 20 November 2007
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ocrana Quote  Post ReplyReply Direct Link To This Post Topic: Change the Gribber of Resizeable Dialog
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2008 at 8:54am
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
Back to Top
Ocrana View Drop Down
Groupie
Groupie


Joined: 20 November 2007
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ocrana Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2008 at 9:11am
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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2008 at 10:05am
Hi,
So do you use CXTResize or CXTResizeDialog ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Ocrana View Drop Down
Groupie
Groupie


Joined: 20 November 2007
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ocrana Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2008 at 10:10am
Hi,

#define CDialogSampleDlgBase CXTPDialogBase<CXTResizeDialog >
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2008 at 1:23pm
NOT a fix, but you can remove it using SetFlag(xtResizeNoSizeIcon);
Back to Top
Ocrana View Drop Down
Groupie
Groupie


Joined: 20 November 2007
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ocrana Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2008 at 7:29pm
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?
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2008 at 3:50am
Since it is being drawn by a CJ class, it sure looks like a skinning bug to me. Oleg?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2008 at 5:10am
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.