Page 1 of 1

DIALOG's title and national characters

PostPosted: Wed Nov 17, 2010 8:56 am
by kadziola
Hi all,

How to properly display polish national characters (word ILOŚĆ) in the title of DIALOG?
In 'normal' WINDOW all is ok.

Image
Regards
Jaroslaw Kadziola

Re: DIALOG's title and national characters

PostPosted: Thu Dec 02, 2010 8:31 am
by Antonio Linares
Jaroslaw,

Have you find a way to solve it ?

Re: DIALOG's title and national characters

PostPosted: Thu Dec 02, 2010 4:58 pm
by Richard Chidiak
Have you tried at the beginning of your application ?

REQUEST HB_LANG_PL

HB_langSelect("PL") // I think it is PL please check

I had similar problems displaying french characters and i fixed it whith request and hb_langselect

Hth

Richard

Re: DIALOG's title and national characters

PostPosted: Fri Dec 03, 2010 6:28 am
by kadziola
Hi Antonio and Richard,

My requests are as below :

Code: Select all  Expand view
REQUEST Hb_Lang_PLWIN
   REQUEST Hb_CodePage_PLWIN
   REQUEST DBFNTX
   Hb_LangSelect ('PL')
   Hb_SetCodePage ('PLWIN')
   RDDSETDEFAULT( "DBFNTX" )


Unfortunately, the problem occurs all the time. As I wrote in the 'normal' window titles are
displayed properly but the problem occurs in the DIALOG.

Regards
Jaroslaw Kadziola

Re: DIALOG's title and national characters

PostPosted: Sat Dec 04, 2010 2:48 pm
by kadziola
Hi all,

But this (displaying problem) is not a big problem. A big problem is the strange
behavior of applications written in harbour on PDAs and emulators with systems
newer than Windows Mobile 5, as described in post on Harbour Developers List
http://groups.google.com/group/harbour-devel/browse_thread/thread/2b124684b0709a34

What do You think about this problem ? How to solve this?

Best regards
Jaroslaw Kadziola

Re: DIALOG's title and national characters

PostPosted: Sat Dec 04, 2010 8:40 pm
by Bayron
Jaroslaw, I don't know if Pocket PC have the functions
Code: Select all  Expand view

OemtoAnsi()
AnsitoOem()
 


I think that they can help you to show the text the way you want it...

Re: DIALOG's title and national characters

PostPosted: Sun Dec 05, 2010 11:51 am
by kadziola
Bayron,

Thanks for reply.These functions exists in harbour, but not helped me.
As i wrote - is not big problem for me, problem is in other place :
harbour's behavior in WM6 and WM6.5 described here :
http://groups.google.com/group/harbour- ... 4b0709a34#

Best Regards
Jaroslaw KAdziola