Sign in to follow this  
Followers 0
Frozenyam

$Var = GUICtrlCtreatePic ()

5 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

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