PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Elias Montoya on October 05, 2007, 08:08:51 PM

Title: UsinG %WS_EX_LAYERED with a form.
Post by: Elias Montoya on October 05, 2007, 08:08:51 PM
 How can i use it without a black flicker?
no matter what i do, it always flickers a black dialog,
the first time call to this code:


SetWindowLong HWND_INSTRUCTIONS, %GWL_EXSTYLE, GetWindowLong(HWND_INSTRUCTIONS, %GWL_EXSTYLE) Or %WS_EX_LAYERED
SetLayeredWindowAttributes HWND_INSTRUCTIONS, 0, 255, %LWA_ALPHA


I already tried many ways. This works well in a popup dialog, but in the main dialog, it always flicker a black screen.