Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » IME improved support
IME improved support [message #58133] Sat, 26 February 2022 18:41 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
U++ now supports IME (text input for 'complicated' langauges like chinesse) more correcly, on all 3 platforms:

index.php?t=getfile&id=6574&private=0

For the support, there are some new methods in Ctrl interface:

virtual Point GetPreedit();

Should return the position of top left point of insertion point (or Null if widget does not need IME).

virtual Font GetPreeditFont();

Should return the font to be used for displaying partial input (it looks good if it matches the current font of text).

static void CancelPreedit();

Client code can call to "abort" the input - e.g. when user moves the cursor by the mouse click.

void CancelMyPreedit() { if(HasFocus()) CancelPreedit(); }

Similar, with focus test...
  • Attachment: ime_mac.jpg
    (Size: 137.26KB, Downloaded 334 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: String::Make - new way how to create a small string fast
Next Topic: FileSel::FileCtrl
Goto Forum:
  


Current Time: Sun Apr 28 20:38:06 CEST 2024

Total time taken to generate the page: 0.99565 seconds