Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTListCtrlEx & manifest.xml
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTListCtrlEx & manifest.xml

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


Joined: 30 September 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hiroaki Quote  Post ReplyReply Direct Link To This Post Topic: CXTListCtrlEx & manifest.xml
    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.
 
I would appreciate anyone give me suggestion.
 
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Hiroaki View Drop Down
Groupie
Groupie


Joined: 30 September 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hiroaki Quote  Post ReplyReply Direct Link To This Post 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!
 
 
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post 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();
 }
}
Back to Top
Hiroaki View Drop Down
Groupie
Groupie


Joined: 30 September 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hiroaki Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2007 at 5:51pm
Dear Tomasz,
 
Thank You again.
 
I will try your suggestion.
 
Hiroaki(Japan)
 
 
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.047 seconds.