Beavering away on dialog plugin.  Hopefully will get most or all services to 
work correctly on out-of-process controls.

One issue that raised was: what happens if out-of-process control is a unicode 
window?  

And while I'm at it, why don't I explore possibility of option for plugin 
dialogs to be unicode?

First: all communications with out-of-process controls will be via messages:

"The system does automatic two-way translation (Unicode to ANSI) for window 
messages. For example, if an ANSI window message is sent to a window that uses 
the Unicode character set, the system translates that message into a Unicode 
message before calling the window procedure. The system calls IsWindowUnicode 
to determine whether to translate the message."
http://msdn.microsoft.com/en-us/library/ms633529%28VS.85%29.aspx

BUT:

"This conversion only takes place for OS messages:
Windows Messages: WM_*  like WM_CHAR, WM_SETTEXT, WM_GETTEXT
IME Messages: WM_IME_*  like WM_IME_CHAR, WM_IME_CONVERSION
ListBox and ComboBox Messages: LB_* like LB_ADDSTRING, 

The conversion only affects text and characters

This conversion has no affect on user messages, RichEdit messages (EM_*), 
Common Control messages and all other types of messages"

http://tech.groups.yahoo.com/group/power-pro/message/36684

Looks like to properly deal with out-of-process controls, I've got quite a lot 
of work to do.  Will happen, but not overnight.





Reply via email to