Sign in to follow this  
Followers 0
Klovis

gui behind icons

4 posts in this topic

I want be able to run this script behind my desktop icons. Help please?

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Global $fVisible = True
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP)
$Pic1 = GUICtrlCreatePic(@ScriptDir&"\Klovis.jpg", 0, 0, @DesktopWidth, @DesktopHeight, -1, $WS_EX_LAYERED)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$o = 0
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            ExitLoop
            Exit
    EndSwitch
    Do
        $o = $o + 1
        WinSetTrans("Form1", "", $o)
    Until $o = 254
    Do
        $o = $o - 1
        WinSetTrans("Form1", "", $o)
    Until $o = 1
WEnd

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You want it to run behind the desktop icons, but front the desktop? :)

That is a hard thing to do!! ;) the desktop is like a window and the icons are as icons in a window, maybe but i really dont know, you can play with the background... i never do something like that.

Edited by monoscout999

Share this post


Link to post
Share on other sites

Well that gives us a challenge now doesn't it

Share this post


Link to post
Share on other sites

My guess is that you would want to write a routine in C or C++ for this to work and that you would need to call several methods from Windows dll's. Good luck with it!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0