So, as the title says.
I am trying to make a gui with background image and without "sys" buttons and border ($WS_POPUP). Since i used image to make custom buttons and_lif with GetCursorInfo) to change image, changes was flickering. So for that i used $WS_EX_COMPOSITED. But! If you change label with transparent bg, they will overlap. Just for example:
After this, uncomment transparent bg and run again.
Any way to avoid this? Because i need to keep the label with transparent bg. (since bg image
)
Or maybe there is another way to avoid flickering?
Also 1 more question, how do i make window move by clicking on body of it? I mean, game launchers (most of mmo) you able to move window just by holding mouse somewhere on the window (not only on the top as usual). I saw this somewhere, but can't find it
I am trying to make a gui with background image and without "sys" buttons and border ($WS_POPUP). Since i used image to make custom buttons and_lif with GetCursorInfo) to change image, changes was flickering. So for that i used $WS_EX_COMPOSITED. But! If you change label with transparent bg, they will overlap. Just for example:
[ autoit ]
#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form = GUICreate("Form", 420, 182, -1, -1, BitOR($WS_POPUP, $WS_EX_COMPOSITED)) GUISetBkColor(0x000000) $Label = GUICtrlCreateLabel("", 150, 50, 15, 15) GUICtrlSetFont($Label, 10) GUICtrlSetColor($Label, 0xFFFFFF) ;GUICtrlSetBkColor($Label, $GUI_BKCOLOR_TRANSPARENT) GUISetState(@SW_SHOW) For $i = 1 To 100 GUICtrlSetData($Label, $i) Sleep(10) Next
Any way to avoid this? Because i need to keep the label with transparent bg. (since bg image
![:)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/autoit/smile.gif)
Or maybe there is another way to avoid flickering?
Also 1 more question, how do i make window move by clicking on body of it? I mean, game launchers (most of mmo) you able to move window just by holding mouse somewhere on the window (not only on the top as usual). I saw this somewhere, but can't find it
![:o](http://aut1.autoit-cdn.com/forum/public/style_emoticons/autoit/ohmy.gif)