Sign in to follow this  
Followers 0

Custom PNG MsgBox -example

17 posts in this topic

Posted (edited)

Hi, guys!

This is just an example of something I've been working on the last few days. Now, this wouldn't be special if there wasn't for one cool feature - GUI is completely built from PNG images. And when I say built, I mean built! Entire GUI is built from tiny PNG parts and it's size depends from the length of the longest line of text. You might ask: why from tiny PNG parts? - Well, my ultimate goal is to make the compiled size as small as possible. And I can only achieve that by reducing size of the required resources...

I hope someone will find it useful.

Preview:

post-51444-0-42382100-1323207238_thumb.p

Download (v1.1):

MsgBoxWithExamples.zip

Previous downloads: 6

As always, I would like to know what you think about it :D

P.S.

It's not a complete msgbox replacement since there are only 'OK' and 'Yes/No' buttons. Like I said, it's only an example.

Edited by playlet

Share this post


Link to post
Share on other sites



Posted

Update: v1.1

  • added Yes/No buttons

Share this post


Link to post
Share on other sites

Posted (edited)

Look very nice !

But i don't see any text ! :D

Posted Image

Edit : i'm on Xp

Edited by wakillon

Share this post


Link to post
Share on other sites

Posted (edited)

What about this one?

<attachment removed>

Edited by playlet

Share this post


Link to post
Share on other sites

Posted

What about this one?

No text too ! :D

Share this post


Link to post
Share on other sites

Posted

In both examples I get this error on Windows 7 x64 >> (Note: I haven't tried to debug the problem.)

C:UsersUserDesktopTestTestMsgBox with Examples.au3 (114) : ==> Subscript used with non-Array variable.:

If $pos[4] = $PosLab[$i][0] Then

If $pos^ ERROR

Share this post


Link to post
Share on other sites

Posted

In both examples I get this error on Windows 7 x64 >> (Note: I haven't tried to debug the problem.)

Me too. But on WinXP!

Share this post


Link to post
Share on other sites

Posted (edited)

@wakillon

What about my Launcher - can you see the text on the left side of the initial splash GUI saying: "Ultimate Launcher" and just below that "v1.3.0.x"? - it uses the same function to draw the text.

@everyone

I'll have to suspend working on the script until I install Windows 7 in dual boot. I can't fix scripts this way, it's the only option...

By the way, what service pack are you using on Windows 7?

Edited by playlet

Share this post


Link to post
Share on other sites

Posted

@wakillon

What about my Launcher - can you see the text on the left side of the initial splash GUI saying: "Ultimate Launcher" and just below that "v1.3.0.x"? - it uses the same function to draw the text.

I see no text at all ! :D

Share this post


Link to post
Share on other sites

Posted

I can't believe it's not working, you have the exact same configuration as I do (your signature)

Share this post


Link to post
Share on other sites

Posted (edited)

I can't believe it's not working, you have the exact same configuration as I do (your signature)

One minute, i will try with another computer...

Edit : it works well with my netbook on XP

Sorry, may be an incompatibility with WindowBlinds i use on my desktop Computer !

Edited by wakillon

Share this post


Link to post
Share on other sites

Posted

What about the example from the help file for _GDIPlus_GraphicsDrawString - does this work on your computer?

Share this post


Link to post
Share on other sites

Posted

It runs for me on Win7-X64 in 32-Bit-Mode but not in 64-Bit-Mode.

Looks very nice btw.

Share this post


Link to post
Share on other sites

Posted

hi

very nice

as ınputbox, maybe can use

Share this post


Link to post
Share on other sites

Posted

Win 7 32 bit, all works fine, nice work.

Share this post


Link to post
Share on other sites

Posted

Im going to give this a try, will include you in the credits if used

Share this post


Link to post
Share on other sites

Posted

Very nice!!! Thanks...

João Carlos.

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