By default, wxMSW overlay uses a constant alpha for the window's opacity which can be changed by the added wxOverlay::SetOpacity() function. For some applications, that's all they need. But for others, per-pixel alpha blending is a requirement. This capability can be enabled by calling SetOpacity(-1) before initializing the overlay. But the drawing must be done via a graphics context because the standard DC under MSW does not support alpha drawing. Also request that the overlay window be positioned below any floating windows on the target (if any). |
||
|---|---|---|
| .. | ||
| msvc/wx | ||
| wx | ||