The EM_SELECTIONTYPE message determines the selection type for a rich edit control.
EM_SELECTIONTYPE wParam = 0; lParam = 0;
Returns SEL_EMPTY if the selection is empty, or one or more of the following values:
| Value | Contents of the selection | 
| SEL_TEXT | Text | 
| SEL_OBJECT | At least one OLE object | 
| SEL_MULTICHAR | More than one character of text | 
| SEL_MULTIOBJECT | More than one OLE object | 
This message is useful during WM_SIZE processing for the parent of a bottomless rich edit control.
Questions:
I want to know how to draw or make a table in Richtextbox(like word), or suggest me any API with exact function/parameter/constant/dll. I m using vb6 and riched32.dll and riched20.dll(version 3.00) thx in advance. arun