SystemParametersInfo
Open32 NLS Extension supports the following parameter flags additionally to SBCS Open32.
SPI_GETDEFAULTINPUTLANG SPI_SETDEFAULTINPUTLANG SPI_GETICONMETRICS SPI_GETICONTITLELOGFONT SPI_GETNONCLIENTMETRICS
Functional Difference from WIN95
SPI_GETNONCLIENTMETRICS
iTitleWrap in NONCLIENTMETRICS structure always contains FALSE (zero) upon return because OS/2 does not have capability to wrap icon text automatically.
lfSmCaptionFont in NONCLIENTMETRICS structure is not applicable on OS/2. Open32 always returns the same value as lfCaptionFont for this item.
Functional Difference from SBCS Open32
N/A. The above system parameters are all new to SBCS Open32.
Implementation
For all LOGFONT structures returned by SPI_GETICONMETRICS and CPI_GETNONCLIENTMETRICS, please refer to the System Predefined Fonts, Fonts for Graphical User Interface Visual Elements section of the Font chapter. The following description only focuses on the elements that are not described in that font section.
For the in FONTMETRICS structure, see the font section described above. For other elements, iHorxSpacing,iVertSpacing,iTitleWarp,Open32 utilizes the following
-------------------------------------------------- ICONMETRICS Option -------------------------------------------------- iHorzSpacing <==== SM_CXICON iVertSpacing <==== SM_CYICON iTitleWrap <==== N/A. Returns always FALSE. --------------------------------------------------
See the font section described above.
For the lfCaptionFont, lfSmCaptionFont, lfStatusFont, lfMessageFont, lfMenuFont in the NONCLIENTMETRICS structure, see the font section described above. For other elements, iBorderWidth, iScrollWidth, iScrollHeight, iCaptionWidth, iCaptionHeihgt, iSmCaptionWidth, iSmCaptionHeight, iMenuWidth, iMenuHeight, Open32 utilizes the following system values.
---------------------------------------------------------- NONCLIENTMETRICS Option ---------------------------------------------------------- iBorderWidth <==== SM_CXFRAME iScrollWidth <==== SM_CXVSCROLL iScrollHeight <==== SM_CYHSCROLL iCaptionWidth <==== N/A (SM_CYCAPTION is returned as WIN95 does.) iCaptionHeight <==== SM_CYCAPTION iSmCaptionWidth ==== N/A (SM_CYCAPTION is returned.) iSmCaptionHeight ==== N/A (SM_CYCAPTION is returned.) iMenuWidth ==== N/A (SM_CYMENU is returned as WIN95 does.) iMenuHeight <==== SM_CYMENU ----------------------------------------------------------
Calls an IMM class member function to retrieve the default IME.
Calls an IMM class member function to set the default IME.