Print Page | Close Window

CXTListCtrlEx & manifest.xml

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8425
Printed Date: 13 November 2025 at 9:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTListCtrlEx & manifest.xml
Posted By: Hiroaki
Subject: CXTListCtrlEx & manifest.xml
Date Posted: 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.
http://www.geocities.jp/luckyhunter3/image.GIF - http://www.geocities.jp/luckyhunter3/image.GIF
 
I would appreciate anyone give me suggestion.
 



Replies:
Posted By: Tomasz
Date Posted: 14 October 2007 at 9:45am
This is long-standing Windows XP bug of CLIstCtrl with LVS_EX_GRIDLINES style.
See: http://support.microsoft.com/kb/813791 - http://support.microsoft.com/kb/813791
 
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.


Posted By: Hiroaki
Date 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!
 
 


Posted By: Tomasz
Date 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();
 }
}


Posted By: Hiroaki
Date Posted: 14 October 2007 at 5:51pm
Dear Tomasz,
 
Thank You again.
 
I will try your suggestion.
 
Hiroaki(Japan)
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net