Jump to content

Insert pics by url into GUI ?


Recommended Posts

hey , i am trying to insert pictures from browser ( IE ) in GUICtrlCreate()- Gui's

Tried using GUICtrlCreatePic() , this failed cause the picture has to be somewhere on your pc -> won't work with urls

Tried to create an _IECreateEmbedded() object in my GUI , and than navigate this object to the pics url . Works ,but i want the single pic in my GUI not a whole freaking IE page with only one pic

Summary : "I want to know how to insert pics in GUI by url."

any suggestions?

Thanks

Link to comment
Share on other sites

I'm trying to get a grip on "why" you want to be able to do this...

Typically when you are designing a GUI you want to be fairly specific about the size and spacing of the assorted elements. In that scenario, grabbing the pic yourself and using it (FileInstall) while designing the GUI makes sense. If you are wanting the GUI to view assorted inet images.... then why wouldn't you make an embedded area on the GUI for viewing them?

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Link to comment
Share on other sites

The pic which should be shown in GUI is depending on which url your browser is , or showing a growing statusbar etc.

second : omg i'm stupid , simply fitting embedded object to picture size (i didn't used width and height , always had this HUGE embedded area with only one small pic :P ). thanks for help ^^

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...