Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Torsten Schucht
|
Jun 10, 2010 - 9:54 AM
|
Dear Support Team, I have a strange behaviour of the CExtListCtrl in my application. It is a simple dialog based app. Beside other controls, I am using a CExtListCtrl in report style. The List control is decorated with the CExtNCSB<> template. When the app starts the header of the columns are all in ’old’ style (e.g. not themed). When I hover them with the mouse they get painted correctly. There is a difference in the behaviour between the architecures and configurations: Release-x86, Debug-x86, Debug-x64: as described above Release-x64: besides the wrong theme, the hovering causes the them to be correct but deletes the text in the header and also when resizing the column width the app crashes. I have a simplified version of the app. Maybe that helps. I’ll email the app since I don’t find a way to attach it to this post. I am using v2.89. Looking forward to your answer. Thanks in advance. Torsten
|
|
Technical Support
|
Jun 14, 2010 - 9:55 AM
|
We fixed the CExtHeaderCtrl crashes in x64 version. Could you drop us an e-mail to the support mail box at this web site so we will provide you with the source code update.
|
|
Torsten Schucht
|
Jun 14, 2010 - 1:54 AM
|
Thanks for the response. That successfully fixed the first problem with painting the themed headers. We do still have two problems: - now the headers do not have text on it at all (since we used the patch) - when resizing the columns the software crashes (this also happens in the ProfUIS_Controls example) These problems only occur in the Relase MBCS x64 configurtaion. It runs on a Win7 x64 computer. Torsten
|
|
Technical Support
|
Jun 11, 2010 - 8:21 AM
|
Thank you for reporting us this issue. To fix it, please update the source code for the following method: bool CExtListCtrl::_Init()
{
CExtHeaderCtrl & wndHeader = m_wndHeaderCtrl;
if( wndHeader.GetSafeHwnd() != NULL )
return true;
if( ! wndHeader.SubclassWindow( GetDlgItem(0)->GetSafeHwnd()) )
return false;
wndHeader.Invalidate();
return true;
}
|
|