Jump to content

Recommended Posts

Posted

Quick question. Is it possible to declare a picture as a variable WITHOUT it showing up when you run the program? :whistle:

"... and the Lord said to John, "Come forth and ye shall receive eternal life," but instead John came fifth and won a toaster."

Posted (edited)

Quick question. Is it possible to declare a picture as a variable WITHOUT it showing up when you run the program? :whistle:

<{POST_SNAPBACK}>

Yes u can.

example

Create Pic Hide It

Wait 3 secs then show it

$testbox = GUICtrlCreatePic("C:\test.jpg",200,70,200,100)
    GuictrlSetState($testbox,$GUI_HIDE)
    Sleep(3000)
    GuictrlSetState($testbox,$GUI_SHOW)

HardCopy

Edited by HardCopy

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

Posted

Yes u can.

example

Create Pic Hide It

Wait 3 secs then show it

$testbox = GUICtrlCreatePic("C:\test.jpg",200,70,200,100)
    GuictrlSetState($testbox,$GUI_HIDE)
    Sleep(3000)
    GuictrlSetState($testbox,$GUI_SHOW)

HardCopy

<{POST_SNAPBACK}>

I guess that'll do... not quite what I had in mind. Thanks though, it is of use. :whistle:

"... and the Lord said to John, "Come forth and ye shall receive eternal life," but instead John came fifth and won a toaster."

Posted

I guess that'll do... not quite what I had in mind. Thanks though, it is of use.  :whistle:

<{POST_SNAPBACK}>

What did u want to do?

My example was just a quick context of declaring the pic. hiding it then showing 3 seconds later.

Clarify better what you need & and i may be able to help.

HardCopy

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

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