Jump to content

DSPMASK: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:Constant:DSPMASK to DSPMASK
Ak120 (talk | contribs)
No edit summary
Line 1: Line 1:
=== Display/Data Conversion Mask ===
=== Display/Data Conversion Mask ===
Conversion mask. This is a bit mask. If the bit is on, the corresponding character 0x00-0x1f is treated as a control. Otherwise it is treated as a glyph.
Conversion mask. This is a bit mask. If the bit is on, the corresponding character 0x00-0x1f is treated as a control. Otherwise it is treated as a glyph.


==== DSPMASK_CR ====
==== DSPMASK_CR ====
Line 20: Line 20:
; 0x00000200 : TAB is a control; others are glyphs.
; 0x00000200 : TAB is a control; others are glyphs.


[[Category:The OS/2 API Project]]
[[Category:Constant]]

Revision as of 17:14, 6 October 2016

Display/Data Conversion Mask

Conversion mask. This is a bit mask. If the bit is on, the corresponding character 0x00-0x1f is treated as a control. Otherwise it is treated as a glyph.

DSPMASK_CR

0x00002000
CR is a control; others are glyphs.

DSPMASK_CRLF

0x00002400
CR and LF are controls; others are glyphs.

DSPMASK_DATA

0xffffffff
All characters less than space are controls.

DSPMASK_DISPLAY

0x00000000
All characters less than space are glyphs.

DSPMASK_LF

0x00000400
LF is a control; others are glyphs.

DSPMASK_TAB

0x00000200
TAB is a control; others are glyphs.