Sign in to follow this  
Followers 0
Medic873

Msgbox Display Image

7 posts in this topic

Im going have a message box after my software takes a screen shot of a window.. How cna I have a message box display a image..

Thank you

Share this post


Link to post
Share on other sites



MsgBox() dosen't support images. You could use the splashimageon() function or create a simple gui with the picture and ok/cancel buttons


HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

Share this post


Link to post
Share on other sites

Create a gui with buttons yes and no

and a GUICtrlCreatePic for display your screenshot ! Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

kk thank you

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Question: Can you display a picture without saving it to a file and then opening it?

Because in the _screencapture helpfile it says: "If FileName is blank, this function will capture the screen and return a HBITMAP handle to the bitmap image"

But how to display it? Putting it into the GUICtrlCreatePic() function seems to do nothing. Help greatly appreciated.

Edited by darkmaster071

Share this post


Link to post
Share on other sites

if I am not mistaking, there was kinda advanced msgbox udf. Search for it.

Share this post


Link to post
Share on other sites

You have to use GDI+ to display captured images from memory.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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