Creation failure with CImageList.....What the...??? 
Author Message
 Creation failure with CImageList.....What the...???

Yo,

Its weird, I can't get it.
My app have 2 PropertyPages.
In each, I create a CImageList.  The first works fine but the other get an
assert error caused by the creation failure of CImageList.
Each have the same includes and the same Init...
In fact, I almost copy/pasted eveything from the first prop.page.
////////////////////////
// PropertyPage
// from OnInitDialog( )

CImageList ListImg;
ListImg.Create(IDB_BITMAP, 16, 1, (COLORREF) RGB(0,0,255));
ASSERT(ListImg);
// ASSERT error with Property Page 2
m_index.SetImageList(&ListImg, LVSIL_SMALL);

Whats happened?

Eric Tremblay
QA-International



Sun, 28 Sep 2003 22:42:04 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. CImageList::Create() failure?

2. CSocket creation failure

3. Document creation failure.

4. Palette creation failure....................

5. CBitmap creation failure

6. Document creation failure.

7. Palette creation failure....................

8. WebBrowser Creation Failure!

9. CImageList linking problem

10. CImageList in a ATL Property page

11. ATL::CImageList link error

12. CImageList in release ??

 

 
Powered by phpBB® Forum Software