Home > Software engineering >  GDI since the draw button OCX controls will appear black border
GDI since the draw button OCX controls will appear black border

Time:09-29

I use GDI + graphic image using a set of button PNG transparency, but the button will appear in a certain interface, black borders or switch Windows desktop background would appear, feel like there's no refresh, it is strange that the same set of buttons in the other window, there is no black border issues, this is the difference between the two Windows first window button is not active click is enblewindow (false) but can be done by code highlighting and dark, and when the button on the switching window will collective missing, you give some advice

CodePudding user response:

Collective missing handle to the parent window button has a problem?

  • Related