CHINESE IN GET
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: CHINESE IN GET
John,
We are working on it, not ready yet
We are working on it, not ready yet
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: CHINESE IN GET
Hi,
Try to set Non Chinese OS that run Chinese App(FWH). You will be know our problem.
Try to set Non Chinese OS that run Chinese App(FWH). You will be know our problem.
Other version XP to install Chinese word module
by ShumingWang » Thu Oct 20, 2011 11:04 am
If your operating system is XP, you first need to install the following way 'East Asian language support package'.
1, go to Control Panel - Date, Time, Language and Regional Options - Regional and Language Options - Languages tab, check the Install files for East Asian Languages - Advanced tab, select the first drop-down box Chinese (PRC), and then check the following list of items related to all Chinese - OK. Will be asked to insert the Windows XP installation CD to install East Asian language pack. Then, to make the program the system to display Chinese or Chinese website, should also be in the IE browser's top menu on the Tools - Internet Options - General tab, click Add in the bottom of Languages and select Chinese [zh] - OK.
2, the installation is complete, call the Chinese input method: Please go to Control Panel - Date, Time, Language and Regional Options - Regional and Language Options - Languages tab - Details - Settings tab - Add - In the Input Language drop-down box select Chinese (PRC) - in the Keyboard layout / IME drop-down box to select the input method to use - OK - but also again in the lower part of the key Settings window to set shortcut keys to facilitate the rapid call for future input method - OK.
3, If the above list is not on your favorite input method, such as five-stroke input method, etc., please download the plug-in software from other websites or IME built-in input, external input directly from the Start - All Programs called, built-in IME press into the 2-point method to add IME list is selected.
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Re: CHINESE IN GET
Antonio,
Is there any update?.
Thanks.
Is there any update?.
Thanks.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Re: CHINESE IN GET
Antonio,
We also need this feature urgent and would be very happy if it will be available soon. Many thanks.ukservice wrote: Is there any update?.
Best Regards,
Ruediger Alich
---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
Ruediger Alich
---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
Re: CHINESE IN GET
Hello again,
Any update?. I have a customer interested in our software but he needs to use chinese in get.
Thank you.
Any update?. I have a customer interested in our software but he needs to use chinese in get.
Thank you.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: CHINESE IN GET
Now, my solution only support TGet for Chinese input. If your customer no need or later Unicode, we have modify TGet code.ukservice wrote:Hello again,
Any update?. I have a customer interested in our software but he needs to use chinese in get.
Thank you.
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: CHINESE IN GET
John,
Actually the only solution is to use FWH Class TEdit instead of Class TGet
Actually the only solution is to use FWH Class TEdit instead of Class TGet
Re: CHINESE IN GET
Antonio,
There is not info at Manual or Wiki about class TEdit().
Also, why don´t you replace TGET by standard Windows TEdit?.
Anyway, It does not work.
See sample:
[IMG=http://img141.imageshack.us/img141/6915/errortget.png][/IMG]
Uploaded with ImageShack.us
There is not info at Manual or Wiki about class TEdit().
Also, why don´t you replace TGET by standard Windows TEdit?.
Anyway, It does not work.
See sample:
Code: Select all
// Testing two characters support GETs (China, etc.)
#include "FiveWin.ch"
function Main()
local oDlg, oEdit, cGet := "a normal GET "
DEFINE DIALOG oDlg TITLE "Testing two characters support for GETs" ;
COLOR 0, GetSysColor( 15 ) SIZE 600,600
oEdit = TEdit():New( 2, 3,, oDlg, 200, 10 )
// METHOD New( nRow, nCol, bSetGet, oWnd, nWidth, nHeight ) CLASS TEdit
oEdit:SetText( "Hello" )
@ 5,3 GET cGet OF oDlg
@ 6, 4 BUTTON "Class" ACTION MsgInfo( oEdit:GetText(), "Get Text" ) ;
SIZE 80, 23
ACTIVATE DIALOG oDlg CENTERED
return nil
[IMG=http://img141.imageshack.us/img141/6915/errortget.png][/IMG]
Uploaded with ImageShack.us
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: CHINESE IN GET
John,
1. No, it is not documented yet, anyhow is a simple wrapper for a standard Windows Edit control.
2. If we do that we will break lots of FWH users applications. No way.
3. The written text is unicode and you can use non-unicode functions to display it. In example: Instead of using Windows API MessageBoxA(), MessageBoxW() has to be used. Also, instead of using GetWindowTextA(), GetWindowTextW() has to be used. Windows translates many of its functions to <name>A or <name>W depending if unicode is used or not.
1. No, it is not documented yet, anyhow is a simple wrapper for a standard Windows Edit control.
2. If we do that we will break lots of FWH users applications. No way.
3. The written text is unicode and you can use non-unicode functions to display it. In example: Instead of using Windows API MessageBoxA(), MessageBoxW() has to be used. Also, instead of using GetWindowTextA(), GetWindowTextW() has to be used. Windows translates many of its functions to <name>A or <name>W depending if unicode is used or not.
Re: CHINESE IN GET
Antonio,
Thanks for reply.
Anyway, I need to use GET as the user should use chinese chars in every get.
Maybe Richard could help you to modify TGET class for all the comunity.
Thanks.
Thanks for reply.
Anyway, I need to use GET as the user should use chinese chars in every get.
Maybe Richard could help you to modify TGET class for all the comunity.
Thanks.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Re: CHINESE IN GET
But maybe it would be possible making the necessary changes optional? If somebody wants to use Unicode in there applications, they can call e.g. the FWH function SetUnicode(.T.). So nothing will break in other FWH users applications. IMO in future more and more FWH users needs Unicode support.Antonio Linares wrote: 2. If we do that we will break lots of FWH users applications. No way.
Or maybe this will be a solution: Making the dialog with the GETs with Harbour QT as an Windows DLL file and call this DLL out of the existing FWH application.
Best Regards,
Ruediger Alich
---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
Ruediger Alich
---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: CHINESE IN GET
I don't know what may have changed in our computers but now copying and pasting the "RED TEA..." that we had with unicode in this thread, now it is not longer properly pasted in notepad, neither resources editor, etc
Please try this change, those that can properly copy and paste:
Please try this change, those that can properly copy and paste:
Code: Select all
@ 6, 4 BUTTON "Class" ACTION ShowText( oEdit:hWnd ) ;
SIZE 80, 23
...
#pragma BEGINDUMP
#include <windows.h>
HB_FUNC( SHOWTEXT )
{
LPWSTR pText[ 200 ];
GetWindowTextW( ( HWND ) hb_parnl( 1 ), pText, 200 );
MessageBoxW( 0, pText, L"Info", MB_ICONINFORMATION );
}
#pragma ENDDUMP