Jump to content

Recommended Posts

Posted

GUICreate ( "Pic1" ,249 ,299 ,-1 ,-1 ,-1 ,-1 ,-1)
$pic1=GUICtrlCreatePic("C:\My Pictures\Pic1.JPG",-1,-1, 250,300)
GUISetState (@SW_SHOW)

I cant figure out how to make this picture display without the title and caption bar being shown on top.

Little help ?

  • Developers
Posted

GUICreate ( "Pic1" ,249 ,299 ,-1 ,-1 ,-1 ,-1 ,-1)
$pic1=GUICtrlCreatePic("C:\My Pictures\Pic1.JPG",-1,-1, 250,300)
GUISetState (@SW_SHOW)

I cant figure out how to make this picture display without the title and caption bar being shown on top.

Little help ?

<{POST_SNAPBACK}>

#include <GUIconstants.au3>
GUICreate ( "Pic1" ,249 ,299 ,-1 ,-1 ,$WS_POPUP ,-1 ,-1)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Tnx Jdeb

Second question if for instance I have a picture of a circle with a red circumfrance displayed using the above gui code can I make it so that the centre of the circle is completly transparent ? so as I could see the outline of teh circle and c my desktop in the centre of the circle ?

Is there a certain hex colour value for 100% transparent that I could use ?

Posted

Maby I explained my question badly, and im proberly going to explain it twice as bad here again.

Here we go :)

If you take alook at the my computer icon on ur desktop you will notice that you can see parts of your desktop around it and between the letters of the name my computer.

How would I make an image display on my desktop just like this icon with certain areas completly transparent Using the gui controlls ?

  • Developers
Posted (edited)

Maby I explained my question badly, and im proberly going to explain it twice as bad here again.

Here we go  :)

If you take alook at the my computer icon on ur desktop you will notice that you can see parts of your desktop around it and between the letters of the name my computer.

How would I make an image display on my desktop just like this icon with certain areas completly transparent Using the gui controlls ?

<{POST_SNAPBACK}>

Understood the question....

Looks like we have been spoiling you... expecting an answer right away .. uh :)

I dunno for sure so i don't answer... know there has been discussion about transparency for controls ed, but dunno the details......

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

Absolutely not possible using the current features of autoit, unless you have Win2k/XP, in which you can use dllcall + stelayeredwindowatributes

Edited by this-is-me
Who else would I be?

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
  • Recently Browsing   0 members

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