How to make the static control have transparent background?

  • Thread starter Thread starter Yan Yang
  • Start date Start date
Y

Yan Yang

Guest
I have a property sheet derived from CPropertySheet, which has a tree control (CTreeCtrl) on the left and CPropertyPageEx page on the right, different pages can be displayed when clicking items in the tree control.

I would like to display a bitmap on the bottom of the tree control window (under the tree view), to explain the functionalities when clicking different controls in the CPropertyPageEx pages.

I have added a static control to display the image at the bottom of the tree control window, now the image can be displayed in the static control. The background of the tree control window is white and the background of the property sheet is grey. I would like the static control for the image to have the same background of the tree control window, which is white. However it is always grey. How to make the static control for the image have the same background colour as the tree control window? I think it should be either white or transparent.

Thanks in advance.

Continue reading...
 
Back
Top