Jump to content

GUI help...


Recommended Posts

I'm doing a little utility for a game I own. This program moves some files I download when entering a server to the proper locations so I can use them offline. This is my second version of the app but this time I wanted to try making it in AutoIt3.

Anyway, I need to know how I can make a window with a custom shape using a bitmap. This bitmap has some pixels that will be transparent (usually magenta). Something like this :

Posted Image

I've been looking in the GUI help section but so far I don't quite understand what settings I should use in the GUIcreate command.

If it's not possible this way then is there a way to use Windows API for this? Something like calling a Windows DLL to make the window transparent or masked.

Link to comment
Share on other sites

I'm not sure excatally what you need. Basically, do you just need this application that you're trying to code to copy some files and give you a nifty GUI to do it? If so, you can use AutoIt to find files in specific directories, list them in a list box in a GUI, allow you to select 1 or more files, and then feed these selected files to do something (such as a copy, move, or other tasks.) AutoIt doesn't support custom skins or bitmaps for the whole GUI, although you can put images in your GUI.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Link to comment
Share on other sites

I mean shape the window to the shape of a bitmap (some pixels become transparent and let me see trough). I know this can be acheived by calling a Windows API but that requires some C++ code or something. Isn't there any way to call a DLL externally passing the proper parameters? Oh, I'm not asking on how to do the purpose of the app but only shapeing the window. I can make it in another scripting program but I'd like to use AutoIt3:)

Link to comment
Share on other sites

Hehe, thats what I used to make the first version of my program and I'm using it in this version. However, I'd like to make it in AutoIt3 because in MultimediaBuilder you can't create buttons, etc on run time. They have to be fixed to a certain number when developing the application. Guess it's not a priority for AutoIt.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...