32 bit color depth bitmap problem with XP
My problem: I made
1- A new MFC application (exe) (c++ .net 2005), dialog based.
2- Get from the toolbox a control which is "Picture Control".
3- Set the type of the control to Bitmap in the property window of the control.
4- Add new bitmap to the resources at which this bitmap is 32 bit color depth picture.
5- Set the Image property of the "Picture" control to the previous Bitmap ID in the
property window of the control.
6- Build and run the application on WinXP and make sure that the appliction is enabling XP theme.
Note to enable it if it is not enabled write this line in "Additional Manifest Dependencies"
in linker node, in Manifest file Node:
type='Win32' name='Microsoft.Windows.Common-Controls' version='22.214.171.124' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'
When I do all this steps just part of the picture is displayed while if take the application and run it in Win server the picture is displayed perfert.
anyone knows the reason and a solution for that???