![]() |
Scrollbar not skinned |
Post Reply
|
| Author | |
MacW
Senior Member
Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
Quote Reply
Topic: Scrollbar not skinnedPosted: 22 August 2007 at 2:26pm |
|
Hi,
I create a CWnd-derived window and attach it to a pane. The CWnd window uses the WS_VSCROLL window style. ![]() The scroll bar is not styled (see above). Also, it does not exactly fit the caption bar of the pane. How to I skin the scroll bar and make it fit properly? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 August 2007 at 1:18am |
|
Hi,
So do you use SKinFramework ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
MacW
Senior Member
Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 August 2007 at 10:07am |
|
Yes. The application is skinned. But I made a mistake and hence the skin did not work correctly. My fault
![]() But, the alignment of the scroll bar to the caption is not correct: ![]() Seems to be some border style or similar which does not match? Since my window fills the entire panel, the caption seems to be two or three pixels to short? |
|
![]() |
|
MacW
Senior Member
Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 August 2007 at 2:24pm |
|
OK, I now added WS_BORDER to the styles used for the window contained in the panel, and now the toolbar aligns wit the panel caption.
Perhaps you may want to add this to the online help somewhere, like "Panels assume that the window contained in the panel has the WS_BORDER style set". 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 |