forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Changing bubble help strings?

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
dpannhorst



Joined: 29 Aug 2005
Posts: 165
Location: Berlin, Germany

PostPosted: Tue Oct 27, 2009 2:14 pm    Post subject: Changing bubble help strings? Reply with quote

How can I change the bubble help strings "on the fly" i.e. when I want to change the language of my software? (For the menus it is possible using the enhanced menus).

Detlef
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue Oct 27, 2009 6:17 pm    Post subject: Reply with quote

I do not have access to the help file at the moment but if you cannot find the information under %th then look under %di.
Back to top
View user's profile Send private message AIM Address
JohnHorspool



Joined: 26 Sep 2005
Posts: 270
Location: Gloucestershire UK

PostPosted: Tue Oct 27, 2009 10:16 pm    Post subject: Reply with quote

under %th help is the following:-

Quote:
The option [ms_style] provides for a Microsoft style tooltip. It also allows you to change the tooltip text at run-time using the routine set_tooltip_text@ (see Note 10 on %di).
Back to top
View user's profile Send private message Visit poster's website
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Tue Oct 27, 2009 11:25 pm    Post subject: Reply with quote

... and set_tooltip_text@ needs (hwnd, text). This means getting the handle for each control that has tooltip help. %lc is suggested. I can't help but feel that this is long-winded if ALL the tooltip help strings are required in a different language.

Isn't it better to establish the language first, then when generating the tooltip help strings, call them up in the correct language? (i.e. when generating the window?) Or do you want to change the language on the fly?

Eddie
Back to top
View user's profile Send private message
dpannhorst



Joined: 29 Aug 2005
Posts: 165
Location: Berlin, Germany

PostPosted: Thu Oct 29, 2009 9:19 am    Post subject: Thanks Reply with quote

Thanks to everyone who gives help to me. It is now working fine and fast.

By the way, %di can't be found in the online help in the list of all CleraWin+ format codes!?

Detlef Pannhorst
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Oct 29, 2009 7:35 pm    Post subject: Reply with quote

%di comes under the heading "Using Dialog Resources". I am aiming to find a way for the search mechanism to detect the format codes.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group