Link ActiveX controls to ComCtl32.dll v6 in Access 2010 to use 32-bit PNG images

wisekat

Registered User.
Local time
Today, 17:26
Joined
Feb 16, 2017
Messages
18
One of our customers wants to use vbAccelerator ImageList control to store and draw 32-bit PNG images in his Access 2010 projects. We've modified this ImageList OCX to support uploading of 32-bit PNG images with translucency in the case if the development environment uses ComCtl32.dll that provides this functionality.

All works fine in Access 2016 out-of-the-box:

aoao95.png


However, in Access 2010 we get this picture:

2hchheg.png


As you can see, the alpha layer in the image is lost, and the whole property page is rendered using old classical 3D style but not the OS visual styles. This problem exists in Windows 7 and Window 10.

What can be the reason for this? It seems, both versions of MS Access has the corresponding manifest that should force Access to use ComCtl32 v6 (this manifest is built into the exe resources). However, it does not happen in the case of Access 2010. It looks like any ActiveX control is used through an extra layer that does not support ComCtl32 v6, though various option dialogs in MS Access do use visual styles.

Is there a way to fix this for Access 2010?
 

Users who are viewing this thread

Back
Top Bottom