![]() |
CFormView |
Post Reply ![]() |
Author | |
securigy ![]() Groupie ![]() Joined: 23 November 2007 Status: Offline Points: 41 |
![]() ![]() ![]() ![]() ![]() 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?
|
|
![]() |
|
MlhDev ![]() Newbie ![]() ![]() Joined: 07 December 2007 Location: United States Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
I am in the same boat, please let me know if you come up with an answer.
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
What does it mean look like rest of the windows? How they look now ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
MlhDev ![]() Newbie ![]() ![]() Joined: 07 December 2007 Location: United States Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
A CView / CFormView / CScrollView / CDialog which takes up the theme/scrollbar style etc. would be indeed nice and is badly missing.
|
|
Codejock support
|
|
![]() |
|
securigy ![]() Groupie ![]() Joined: 23 November 2007 Status: Offline Points: 41 |
![]() ![]() ![]() ![]() ![]() |
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...
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |