natwolf Posted September 14, 2014 Posted September 14, 2014 I have recently been trying to create movement in a GUI. I've determined through research that I will most likely need to use the GDIplus functions but I've been unable to find much that helps me achieve exactly what I am trying to do. The idea is to draw an image in a GUI and then make that image move across the GUI based on the user pressing the arrow keys. I can handle the drawing an image to a GUI rather easily but I have yet to be able to successfully make it move despite hours of effort. I've found some scripts that when executed achieve what I am trying to but I am unable to follow them to find out how they did it or why what they are doing is working because the dev notes are in other languages. can anyone point me in the direction of any example scripts that may help me out or give me any pointers?
Solution Danyfirex Posted September 14, 2014 Solution Posted September 14, 2014 >look Saludos natwolf 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
natwolf Posted September 14, 2014 Author Posted September 14, 2014 Seems to be what I aiming for except the script doesn't appear to work.
Danyfirex Posted September 14, 2014 Posted September 14, 2014 put a your own picture Global $hImage = _GDIPlus_ImageLoadFromFile(StringLeft("here your picture or icon") saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
Luigi Posted September 15, 2014 Posted September 15, 2014 natwolf, try this. Cross.zip Visit my repository
natwolf Posted September 25, 2014 Author Posted September 25, 2014 Both of these work for what I'm trying to do. The first example allows for a bit more what I'm aiming for except I cannot figure out how to make the frame transparent or invisible so the background of the GUI is visible. All of my attempts have only made the GUI itself invisible or transparent. I Haven't even really been able to change the color of the frame no matter what I changed. I've tried _winapi_setLayeredwindowattributes and _winApi_setbkcolor but neither seem to have the effect I'm searching for.
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