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 |
|
Chris Johnson
|
Apr 19, 2005 - 12:49 AM
|
I’m trying to reduce the space used by the expanded items section in the CExtPageNavigatorWnd. I am overriding OnQueryItemHeight to change the height. I tried using an icon that was 16x16, but when it is displayed, it is not centered, it is too high, and this happens no matter what OnQueryItemHeight returns. If I make the area larger and use a 32x32 icon, the image is drawn too low. It seems that the code that draws the image only expects 24x24 icons.
|
|
Technical Support
|
Apr 19, 2005 - 2:46 AM
|
Thank you for the bug information. Indeed, it is caused by a limitation in supported icon sizes which are 24x24 for expanded items and 16x16 for collapsed items. We fixed this bug and you can download the updated code of the CExtPaintManager::PaintPageNavigatorCaption method right now. We also fixed incorrect calculation of the icon area width which was always equal to 36 pixels but now it depends on the icon size.
|
|