I have developed a text editor supporting international languages.
One problem still bother me: The location of the IME window.
When I have an asian user entering asian characters, (s)he does so through
an IME window which is located in a seemingly unpredictable/uncontrollable
location.
Is there a way I could set the location, size, and font (or at least font
size) used by this IME window?
How could I know when it is used or not? 2 1238
AFAIK, there's no way to do it with native code as this is OS controlled.
However, you can use the SendMessage Win32 API call, with the WM_IME_CONTROL
message
( http://msdn.microsoft.com/library/de.../ime_8awc.asp),
and the IMC_SETCOMPOSITIONWINDOW
( http://msdn.microsoft.com/library/de...l/ime_8wjb.asp)
and the COMPOSITIONFORM structure, http://msdn.microsoft.com/library/de...l/ime_8vle.asp
as parameters.
--
Carsten Thomsen
Senior .NET Solutions Architect / Developer / Author
MCAD/MCSD/MCSE/MCTS
"Lloyd Dupont" <net.galador@ldwrote in message
news:um**************@TK2MSFTNGP02.phx.gbl...
>I have developed a text editor supporting international languages.
One problem still bother me: The location of the IME window.
When I have an asian user entering asian characters, (s)he does so through
an IME window which is located in a seemingly unpredictable/uncontrollable
location.
Is there a way I could set the location, size, and font (or at least font
size) used by this IME window?
How could I know when it is used or not?
Thanks Carsten, that's good stuff!
"<ct>" <carstentATintegratedsolutions.dkwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
AFAIK, there's no way to do it with native code as this is OS controlled.
However, you can use the SendMessage Win32 API call, with the
WM_IME_CONTROL message
(http://msdn.microsoft.com/library/de.../ime_8awc.asp),
and the IMC_SETCOMPOSITIONWINDOW
(http://msdn.microsoft.com/library/de...l/ime_8wjb.asp)
and the COMPOSITIONFORM structure, http://msdn.microsoft.com/library/de...l/ime_8vle.asp
as parameters.
--
Carsten Thomsen
Senior .NET Solutions Architect / Developer / Author
MCAD/MCSD/MCSE/MCTS
"Lloyd Dupont" <net.galador@ldwrote in message
news:um**************@TK2MSFTNGP02.phx.gbl...
>>I have developed a text editor supporting international languages. One problem still bother me: The location of the IME window.
When I have an asian user entering asian characters, (s)he does so through an IME window which is located in a seemingly unpredictable/uncontrollable location.
Is there a way I could set the location, size, and font (or at least font size) used by this IME window? How could I know when it is used or not? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jason Stacy |
last post by:
On a webpage I would like to move image1.jpg as left as possible (directly to the browser window left border)
and - simultaneously - the picture image2.jpg to the rightmost (directly to the right...
|
by: Stefan De Schepper |
last post by:
Hi all,
Combobox.DropDownStyle = DropDown
I want to move the edit window of a combobox (I want to place an icon before
the text). When using MoveWindow, the window does move, but text won't be...
|
by: Jurate |
last post by:
I want my window not to have title bar, but then the problem arises, how to
move such a window. Is it possible to make window move by moving mouse
anywhere on that window?
--
Jurate
|
by: kamal |
last post by:
Hi all,
I am working on a project in which I have a toolbox window with
many objects. In this project, I must be able to drag and drop an
object from this toolbox window to another window. Once...
|
by: Robert |
last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into
some sporadic viewstate errors...usually saying the viewstate is invalid,
eventvalidation failed or mac error.
My web...
|
by: Todd7 |
last post by:
I am writing a python program to load a pdf file into an IEHtmlWindow
which displays it through adobe acrobat reader 7. Depending on the
buttons the user clicks, the program moves it to another...
|
by: OtisUsenet |
last post by:
Hello,
Is there a way to use JavaScript to push a page element (a DIV block,
for example) down the screen, so it sits at the bottom of the browser
window.
For example of a bad footer...
|
by: Doron Farber |
last post by:
Hi All,
How can I Move the Server explorer window to the left. When ever I double click on the Server explorer top window it goes to the bottom of the IDE.
Thanks,
Doron
|
by: qhimq |
last post by:
To download source and executable:
https://netfiles.uiuc.edu/qmitche2/www/mouse/
#include <windows.h>
//#include <stdio.h>
// Variables
HWND hwndMain; // Main window HWND
// Functions
|
by: yash777 |
last post by:
actually,
i updated database with pop up window and after updation i have to move back to the parent window.
i solved the first question by closing the popup window.
but how refresh the...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |