It is currently Mon May 20, 2013 4:45 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Fri Jun 06, 2008 2:03 pm 
Offline
PureBasic Protozoa
PureBasic Protozoa
User avatar

Joined: Fri Apr 25, 2003 3:08 pm
Posts: 3011
Very sexy stuff netmaestro. Will come in as useful as all of your stuff. Thanks you!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 28, 2008 10:17 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Dec 08, 2005 4:58 pm
Posts: 105
Location: Duesseldorf, Germany
@netmaestro:
What do you think about a checkbox for "Don't ask me this again." or questions like this, that the program can react on?

_________________
Sorry 4 my poor English, it's the only one I learned 40 years ago...
since 17.12.08: XPHome(SP3) + PB 4.30


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 07, 2008 4:56 am 
Offline
User
User
User avatar

Joined: Wed Jan 16, 2008 11:28 am
Posts: 80
Location: china
Very like you!!!!!! :D
good !!!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 07, 2008 9:01 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Oct 06, 2006 4:41 am
Posts: 320
Location: Canada
Thanks, NetMaestro.

This is a neat improvement to a common coding element that was in bad need of spiffying up.

I particularly love the box produced by your sample program, the one with the pale green circle in the background.
So simple, yet very eye-catching.

Question: In the sample code, you say you retrieved the size (w:257, h:95) by using the #MMB_TEST constant.
But when I use that constant, I get (w:334, h:136) (which I have verified as indeed correct and exact).
Using those values (rather than yours) results in (almost) the same drawing in the box. (I coloured the box red just to follow the changes...)

So my question boils down to:
• how did you end up with your values ?
• how come such different values produce the same result? :shock:

What am I missing or misunderstanding here ?

(running Windows Vista SP1 FR, standard fonts, standard everything....)

--------------------------------------------------------
mystery solved (I think):
The strings in English (Abandon, Retry, Ignore) :?: are a lot shorter than in French (Abandonner, Recommencer, Ignorer).
Hence the shorter sizes reported by #MMB_TEST on your machine. Right?
So, on a different locale, the managed message box will certainly work, but the grahics may end up slightly distorted.

_________________
"That's not a bug..." said the programmer. "...It's a feature! "
"Oh! I see..." replied the blind man.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 22, 2008 12:36 am 
Offline
PureBasic Bullfrog
PureBasic Bullfrog
User avatar

Joined: Wed Jul 06, 2005 5:42 am
Posts: 6465
Updated code to work with PB 4.30 Final.

_________________
Veni, vidi, vici.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye