Home > Software engineering >  Want to add a click function to the program, the trigger condition is program to minimize the progra
Want to add a click function to the program, the trigger condition is program to minimize the progra

Time:03-31

Wrote a MFC dialog box procedure, the program function can change to the dialog background bitmap, the inside of the controls can be moved, and have a child dialog is to set up a color background to transparent color background,

Up the program running on your computer, get some more lousy computer, display would be out of the question!

Background transparent color display is not normal, it is transparent, the results show that black; , then click on the minimize display when turn on the computer desktop or other background in the window of the brush in the above program dialog background,

Excuse me each bosses, what reason is this? Some computer is normal, some computer display is not normal, what's the solution???


I want to add a click function to the program, the trigger condition is procedure to minimize the program and then click the task bar icon, this how to write? Where is write

CodePudding user response:

Refer to my to achieve transparent dialog box when the bitmap as a background of control

Minimize after clicking on the icon will receive WM_SYSCOMMAND, SC_RESTORE


CodePudding user response:

Transparent I got, it is very strange, program to get some more bad of the computer, transparent color will be displayed as black
  • Related