BCGControlBar Pro for MFC
virtual BOOL CBCGPEditCtrl::MakeSelection ( BCGP_EDIT_SEL_TYPE  selType)
virtual

Selects a block of text according to selection type.

Returns
Nonzero if a block of text was selected successfully; otherwise 0.

Selection type should be one of the following:

  • ST_PREV_WORD - select the previous word from the current position (offset)
  • ST_NEXT_WORD - select the next word from the current position (offset)
  • ST_PREV_SYMBOL - select the previous symbol from the current position (offset)
  • ST_NEXT_SYMBOL - select the next symbol from the current position (offset)
  • ST_PREV_LINE - select the previous line from the current position (offset)
  • ST_NEXT_LINE - select the next line from the current position (offset)
  • ST_PREV_PAGE - select the previous page from the current position (offset)
  • ST_NEXT_PAGE - select the next page from the current position (offset)
  • ST_HOME - select the current line from the current position (offset) to the start of line
  • ST_END - select the current line from the current position (offset) to the end of line
  • ST_START_OF_TEXT - select the text from the current position (offset) to the beginning of the text
  • ST_END_OF_TEXT - select the text from the current position (offset) to the end of the text
  • ST_ALL_TEXT - select all text from start to end.
Parameters
selTypeSpecifies the selection type.