![]() |
CXTListCtrlEx & manifest.xml |
Post Reply
|
| Author | |
Hiroaki
Groupie
Joined: 30 September 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTListCtrlEx & manifest.xmlPosted: 13 October 2007 at 10:26am |
|
Hi!
It has always been indebted.
I included manihest.xml of Sample AboutDlg in the myApp.
1 24 DISCARDABLE "res\\manifest.xml"
It seems that this is operating satisfactory. Although it is somewhat complicated...
If it does so, CXTListCtrlEx is made to scroll, row height will collapse.
CXTListCtrlEx referred to Sample GUI_Eclipse and made it.
Unless it uses manifest.xml, this problem does not occur.
Although it is good to understand my English...
An image is appended.
I would appreciate anyone give me suggestion.
|
|
![]() |
|
Tomasz
Senior Member
Joined: 05 August 2006 Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 October 2007 at 9:45am |
|
This is long-standing Windows XP bug of CLIstCtrl with LVS_EX_GRIDLINES style.
The only option is to turn off smooth scroll or to call Invalidate(FALSE) and UpdateWindow after scrolling to get rid of this display artefact.
|
|
![]() |
|
Hiroaki
Groupie
Joined: 30 September 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 October 2007 at 10:04am |
|
Dear Tomasz Much Thax!
It has checked.
However, I worry about whether I may release or not.
Moreover, if something is, I will need your help.
Thank you so much!
|
|
![]() |
|
Tomasz
Senior Member
Joined: 05 August 2006 Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 October 2007 at 10:20am |
|
I worked this bug around by calling
Invalidate(FALSE);
UpdateWindow();
when user stops scrolling (in the response to WM_VSCROLL with SB_ENDSCROLL code.)
void CMyDerivedListCtrl::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)
{ CListCtrl::OnVScroll(nSBCode, nPos, pScrollBar);
if( nSBCode == SB_ENDSCROLL )
{ Invalidate(FALSE); UpdateWindow(); } } |
|
![]() |
|
Hiroaki
Groupie
Joined: 30 September 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 October 2007 at 5:51pm |
|
Dear Tomasz,
Thank You again.
I will try your suggestion.
Hiroaki(Japan)
|
|
![]() |
|
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 |