WolfWorld Posted January 2, 2008 Posted January 2, 2008 I am going on a project name OpenIndex but the Opacity of the png back ground become grey _GDIPlus_Startup () FileInstall('Image\Background.png', @TempDir & '\openimage1', 1);- Local $hImage = _GDIPlus_ImageLoadFromFile (@TempDir & '\openimage1');- FileDelete(@TempDir & '\openimage1') Local $width = _GDIPlus_ImageGetWidth ($hImage) Local $height = _GDIPlus_ImageGetHeight ($hImage) $Main_Gui = GUICreate('OpenIndex V.' & $Version, $width, $height, -1, -1,$WS_POPUP) GUISetState();- Local $hGraphic = _GDIPlus_GraphicsCreateFromHWND ($Main_Gui) Local $hBitmap = _GDIPlus_BitmapCreateFromGraphics($Width, $Height, $hGraphic) _GDIPlus_GraphicsDrawImage ($hGraphic, $hImage, 0, 0) GUIRegisterMsg($WM_NCHITTEST, 'WM_NCHITTEST');- _GDIPlus_GraphicsDispose ($hGraphic) _GDIPlus_ImageDispose ($hImage) _GDIPlus_ShutDown () Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now