Line marks not working with Visual Studio 2010 |
Post Reply |
Author | |
VolkerE
Newbie Joined: 09 February 2006 Location: Germany Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 04 January 2011 at 5:33am |
CXTPSyntaxEditPaintManager::DrawLineMark() does not work any more when compiled with VS 2010!
Tested on Windows 7 with: - XTreme Toolkit Pro 13.4.2 - MDITextEditor sample Compiled with Visual Studio 2008: breakpoint and bookmarks are displayed correctly Compiled with Visual Studio 2010: breakpoint and bookmarks are NOT displayed at all |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Thanks, very strange. Seems CImageList::DrawIndirect somehow fail with VC2010. Please temporary replace IMAGELISTDRAWINDIRECT_S(GetBookmarks(), pDC, iImage, ptStart, szRect); to GetBookmarks()->Draw(pDC, iImage, ptStart, ILD_NORMAL); and build toolkit.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Definitelly bug of Visual Studio.
in vc 2008 if (dwMajor < 6) { pimldp->cbSize = IMAGELISTDRAWPARAMS_V3_SIZE; } else { pimldp->cbSize = sizeof(IMAGELISTDRAWPARAMS); } in vc 2010 if (dwMajor < 6) { pimldp->cbSize = IMAGELISTDRAWPARAMS_V3_SIZE; } and cbSize never set in its general CImageList::DrawIndirect.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |