BCGControlBar Pro for MFC
virtual BOOL CBCGPDBGridCtrl::ParseURLString ( CString  str,
CString &  strTextToDisplay,
CString &  strURL 

Parses a string and displays it as URL.

TRUE, if the input string is URL; otherwise FALSE.

This method is called when a string is being added to the grid cell. If the specified string str is URL, then the default implementation of OnAddData replaces the default grid item with CBCGPGridURLItem. You can override this method in a derived class for custom URL parsing.

strThe string to parse.
strTextToDisplayThe string to display as URL.
strURLThe actual URL to open when user clicks the grid URL item.