Sign in to follow this  
Followers 0
Essbaumer

Is that possible?

6 posts in this topic

Hi @ all!

Is it possible to displays items on the desktop like this sample?

Posted Image


CURalf

Share this post


Link to post
Share on other sites



No idee? ;)


CURalf

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

hmmm.... maybe make a window in witch the transparency is 0% (invisible) and add configureable contents to the window, make it appear in a certain position? just guessing here, but im pretty sure u cand o all of what i just said, i'm not to good with auto-it as i just started... but ill try to look into it

Edit: i found transparency...

WinSetTrans

Sets the transparency of a window. (Windows 2000/XP or later)

WinSetTrans ( "title", "text", transparency )

Parameters:

title = The title of the window to change.
text = The text of the window to change.
transparency = A number in the range 0 - 255. The larger the number, the more transparent the window will become.

Example:

Opt("WinTitleMatchMode", 2); Match substring
WinSetTrans("Notepad", "", 170); Make Notepad window semi-transparent.
Edited by TK_Incorperate

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

also found how to move the window....

WinMove

Moves and/or resizes a window.

WinMove ( "title", "text", x, y [, width [, height]] )

Parameters:

title = The title of the window to move/resize. 
text = The text of the window to move/resize. 
x = X coordinate to move to. 
y = Y coordinate to move to. 
width = [optional] New width of the window. 
height = [optional] New height of the window.

the normal example doesnt help you much so here's one more fitting

Example:

WinMove("WindowNameHere", "", X-Cord Here, Y-Cord Here)

Example2:

WinMove("Notepad", "", 400, 35)
Edited by TK_Incorperate

Share this post


Link to post
Share on other sites

Thanx TK_Incorperate.

But I'm searching thats not I'm searching for.

I need some what without extern applactions (like notepad).

Have someone a other idee?


CURalf

Share this post


Link to post
Share on other sites

You might be able to get a snap shot of your desktop with the same coords as your GUI's left, top, width, height. Then remove the title bar and borders.

Save the snap shot.

Then set a variable as that snap shot.

Then use GUICtrlCreatePic() as the background, and put your text lables above that.

And make sure it's always in the back.

You might be able to do the snapshot with a DLL call, but I haven't a clue how to get that part done.

Just some thoughts.

Sounds like a job for CyberSlug or gafrost B)!!


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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