Information Message Part Class
The default Information Message Part window is an object window to communicatie
with an IME window. The default Information Part window creates a MessageBox
panel when it receives a request to display a message.
WM_CREATE
The default Information Message Part window sets the its window handle to
the window data of the owner window by using WinSetWindowULong with QWL_IMEW_HWNDINFOMSG.
WM_IMEREQUEST
IMR_INFOMSG (IMR_INFOMSG_ERRLEVEL)
The default Information Message Part window displays a pre-defined Error
Level string as the title of the Message Box, corresponding to each IM_ERRLEVEL_xxx
value. The meanings and pre-defined strings for each IM_ERRLEVEL_xxx are
as follows:
IM_ERRLEVEL_NONE:
There is no specific title. The
string is "Message".
IM_ERRLEVEL_INFORMATION:
There
is information to a user. The string is "Information". The Message Box
contains a black information "i" in a square box.
IM_ERRLEVEL_WARNING:
Unexpected event occurs. IME warns a user the event
and it would continue to process. The string is "Warning" (or "Caution").
The Message box contains a black "!" in a square box.
IM_ERRLEVEL_ERROR:
Some error occurs. The process may terminate. The
string is "Error". The Message Box contains a STOP sign on a white background.
IM_ERRLEVEL_FATAL:
Fatal
error occurs. Some data may be lost and the process might abort. The string
is "Unrecoverable Error" (or "Fatal Error"). The Message Box contains a
STOP sign on a white background.
IM_ERRLEVEL_HELP:
There is a help information to a user. The string
is "Help".
Note: These strings will be translated in each national language.
IMR_INFOMSG (IMR_INFOMSG_ERRINDEX)
The default Information Message Part window displays a pre-defined Error
Information string as the message within the Message Box, corresponding
to each IM_INFOID_xxx value.
If IMR_INFOMSG_ERRSTR is also valid, the default window concatenates the
pre-defined string with a specified string, and then display it in the Message
Box. (The pre-defined string is placed in front of the specified string.)
The meanings and pre-defined strings for each IM_INFOID_xxx are as follows:
IM_INFOID_UNSAVABLE:
IME can't save a dictionary
or a profile data. The string is "Can't save a dictionary or a setting
data".
IM_INFOID_NOCONVERT:
IME
can't convert any further. The string is "No more conversion candidate".
IM_INFOID_NODICTIONARY:
IME
can't find or recognize a dictionary. The string is "Can't find a dictionary".
IM_INFOID_NOMODULE:
IME
can't find a module. The string is "Can't find a required module".
IM_INFOID_INVALIDREADING:
Some error occurs in Reading, e.g. some vowels can't
be put continuously. The string is "Invalid Reading Input".
IM_INFOID_TOOMANYSTROKES:
There are too many strokes for one character or
one clause. The string is "Too many Input Characters".
IM_INFOID_TYPINGERROR:
Typing error occurs. IME can't handle it. The
string is "Error in Typing".
IM_INFOID_UNDEFINED:
Undefined error occurs. Applications need to refer
an additional error message. The string is "Unexpected Error".
IM_INFOID_INPUTREADING:
IME prompts a user to input Reading characters.
The string is "Please input Reading Characters".
IM_INFOID_INPUTRADICAL:
IME prompts a user to input Radicals. The string
is "Please input Radicals".
IM_INFOID_INPUTCODE:
IME prompts a user to input character codes. The
string is "Please input Character Codes".
IM_INFOID_SELECTCANDIDATE:
IME prompts a user to select a candidate. The string
is "Please select a candidate".
IM_INFOID_REVERSECONVERSION:
IME prompts a user to input information for a reverse
conversion. The string is "Please input information for a Reverse Conversion".
Note: These strings will be translated in each national language.
IMR_INFOMSG (IMR_INFOMSG_ERRSTR)
When the default Information Message Part window receives the WM_IMEREQUEST
(IMR_INFOMSG, IMR_INFOMSG_ERRSTR) message, it shows the specified message
string with WinMessageBox API.
IMR_INFOMSG (IMR_INFOMSG_PRIVATE)
The default Information Message Part window doesn't handle the WM_IMEREQUEST
message with "IMR_INFOMSG, IMR_INFOMSG_PRIVATE". This message may or may
not be handled by applications.
[Back: Candidate Part Class]
[Next: Register Word Part Class]