Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » Corrupted Icons in Property Grid Collapse All
Subject Author Date
Chris Jackson Oct 31, 2005 - 9:02 AM

Hi,


Although the "Categorized" and "Alphabetical" icons show up OK in your compiled property grid samples, if I compile them myself (or use the property grid in my own code), the icons come out corrupted - both show up as a series of coloured vertical bars.


Can you offer me any advice?


Thanks

Technical Support Oct 31, 2005 - 10:23 AM

We fixed this bug. It occured only in the Prof-UIS static library versions. Please open the .../Prof-UIS/Src/ExtPropertyGridWnd.cpp file, find sizeof(g_arrBmpData)/sizeof(sizeof(g_arrBmpData[0])) and replace it with (g_arrBmpData)/sizeof(g_arrBmpData[0]). This was caused by the double sizeof typo in the source code.