Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CFormView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CFormView

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


Joined: 23 November 2007
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote securigy Quote  Post ReplyReply Direct Link To This Post Topic: CFormView
    Posted: 11 December 2007 at 1:57pm

Most of my panes are derived from CFormView. Unfortunately ToolkitPro does not have much to offer for this class except the CXTResizeFormView, which I do not use...

I am looking for a way to make CFormView to look like the rest of the windows, that is themed. Anybody has any suggestions how do I go about it? The CXTResizeFormView does not offer any support for themes...
 
Plan B: how do I do custom drawn CFormView?
Back to Top
MlhDev View Drop Down
Newbie
Newbie
Avatar

Joined: 07 December 2007
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote MlhDev Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2007 at 3:24pm
I am in the same boat, please let me know if you come up with an answer.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 11 December 2007 at 3:33pm
Hi,
 
What does it mean look like rest of the windows? How they look now ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
MlhDev View Drop Down
Newbie
Newbie
Avatar

Joined: 07 December 2007
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote MlhDev Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2007 at 3:52pm
Oleg,
 
Thanks for reply.  Can I send you some more detailed info on what I am trying to do and show you the results?
 
Thanks,
Mike 
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2007 at 4:28pm
A CView / CFormView / CScrollView / CDialog which takes up the theme/scrollbar style etc. would be indeed nice and is badly missing.

Codejock support
Back to Top
securigy View Drop Down
Groupie
Groupie


Joined: 23 November 2007
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote securigy Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2007 at 5:03pm
Now the regular pane created with CFormView looks gray, like a regular CDialog. It looks quite incompatible to all the rest of the panes and controls that have Office2003 theme (blue). I'd like to be able to change to to more "compatible backgraound color, or even to white...
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 12 December 2007 at 1:32am
Hi,
its quite easy - just catch WM_CTLCOLOR and return Blue brush. see description of WM_CTLCOLOR  in MSDN.
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.031 seconds.