Sign in to follow this  
Followers 0
deo

Create image within application

5 posts in this topic

#1 ·  Posted (edited)

Hi,

Im trying to create an image within an existing application using GUICtrlCreatePic with no success. Is this even possible?

Let me try to elaborate a bit:

Im using autoit to open an application, then overlay a bitmap over a specific region of the window, thus allowing me to see the image layered above any controls.

Im inserting the image using GUICtrlCreatePic and then im calling GUISetState(), but the image isnt showing. Any ideas?

Edited by deo

Share this post


Link to post
Share on other sites



Hi,

Im trying to create an image within an existing application using GUICtrlCreatePic with no success. Is this even possible?

Do you want to create a compiled script that doesn't need any other file?

If so use FileInstalla to extract the image to a temp folder and than show it


Share this post


Link to post
Share on other sites

I dont need to extract an image, i need to place an image within the application, above all other controls. Im not creating a compiled script either. Any other ideas?

Share this post


Link to post
Share on other sites

GuiCtrlCreateImage is create an image in your gui which is created by autoit..

You'll rgncreateimage or what was it called I dont remember at the moment anyhow it was a function to draw images on desktop it might work for you created by larry

Share this post


Link to post
Share on other sites

I found his function bmp2rgn, but it appears to only work within a gui that has been created.... am i wrong?

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