ID of the dialog item that is about to be drawn.
Color attribute (foreground+background) that the callback function wants to use to draw dialog
item:
LO(LO=Title,HI=HiText), HI(LO=Frame,0)
LO(LO=Title,HI=0), HI(0,0)
LO(LO=EditLine,HI=SelectText), HI(LO=UnchangedColor, HI=History&ComboBox pointer)
LO(LO=Title,HI=HiText), HI(0,0)
LO(LO=Title,HI=HiText), HI(0,0)
Color attribute (foreground+background) that the callback function should use to draw the dialog
item.
For example, this is how the macro assignment dialog in FAR Manager changes the color of input
field:
/* 02 */ DI_EDIT,5,3,28,3,1,0,0,1,"",
case DN_CTLCOLORDLGITEM:
// Unchanged resides in the Lo byte of the Hi word.
Param2&=0xFF00FFFFU;
Param2|=(Param2&0xFF)<<16;
return Param2;