Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set max chars for Unicode Edit Text control?



Am 26.07.2004 um 10:06 schrieb Laurence Harris:

You should have something like this:

UInt32 dataSize;
OSStatus err = GetEventParameter( inEvent,
kEventParamTextInputSendText, typeUnicodeText, NULL, 0, &dataSize, NULL );

This always returns 2 for the dataSize, no matter how long the Japanese text that is entered is. So this does not help me to determine how much text there will be in the edit text control from within the kEventTextInputUnicodeForKeyEvent handler.


Manfred
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Set max chars for Unicode Edit Text control? (From: Laurence Harris <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.