![]() |
Exception on SetIcons |
Post Reply
|
| Author | |
Vitaly
Groupie
Joined: 05 November 2004 Status: Offline Points: 70 |
Post Options
Thanks(0)
Quote Reply
Topic: Exception on SetIconsPosted: 08 November 2004 at 9:25am |
|
Can't understand why within CMainFrame::OnCreate() on this line: m_paneManager.SetIcons(IDB_BITMAP_PANEICONS, nIDPaneIcons, _countof(nIDPaneIcons), RGB(0, 255, 0)); i'm always getting an exception from XTPDockingPaneManager.cpp, Line 590. Any idea why? I'm evaluating the product, so can't debug into to see what's wrong. This is an MDI app.
|
|
![]() |
|
Vitaly
Groupie
Joined: 05 November 2004 Status: Offline Points: 70 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2004 at 10:23am |
|
Found something: resizing the bitmap to just actually supported images helped. This is strange, because i specified correctly how many images i wanted from that bitmap, and the map of commands was correct too... Any comments?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2004 at 12:02pm |
|
In the code we have assert: ASSERT(il.GetImageCount() == nCount); // Icons must be 16x16. |
|
|
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 |