Post
by RainerE » 15 Jul 2010, 10:57
Posted by: Rainer Ebert
Sepp,
the other way:
Call SalColorSet( hWndItem, COLOR_IndexWindow, COLOR_3DFace)
Call SetWindowStyle( hWndItem, GWL_STYLE, WS_TABSTOP, FALSE )
Call SalSendMsg( GetWindow(hWndItem,GW_CHILD),EM_SetReadOnly,TRUE,0)
Function: SetWindowStyle
Returns
Boolean:
Parameters
Window Handle: p_hWnd
Number: p_nStyle
Number: p_nValue
Boolean: p_bSet
Actions
If p_bSet
Return SetWindowLongA(p_hWnd, p_nStyle, p_nValue |
GetWindowLongA(p_hWnd, p_nStyle))
Else
Return SetWindowLongA(p_hWnd, p_nStyle, (0xFFFFFFFF - p_nValue) &
GetWindowLongA(p_hWnd, p_nStyle))
Regards,
Rainer