TranslateCtlErrorCode Method (Utility Control)
Windows - Visual C++
Dispatch ID = 0x48
Description
The TranslateCtlErrorCode method
takes CtlErrorCode as returned from another method or thrown or fired
as an error and returns an English string which can be used as an
error message.
Syntax
CString result = TranslateCtlErrorCode(long nCode);
The TranslateCtlErrorCode syntax has these parts:
Part |
Description |
nCode |
A long integer containing a CtlErrorCode in its low-order 16 bits. The high-order 16 bits are ignored. |
result |
Return value. A string containing an error message. If the error code is unknown the string contains "Unknown error." |
Back to: Utility Methods