bOk = MTblDefineHyperlinkCell( hWndCol, nRow, bEnable, nFlags )

Defines a cell as a hyperlink cell. That means, if the user moves the mouse over the text , the cursor changes to a hand and, if defined with MTblDefineHyperlinkHover, HOVER effects are applied.
If the user clicks on a hyperlink, the message MTM_HyperlinkClick is sent to the table.

Parameters
hWndCol
Window Handle: Handle of the column.

nRow
Number: Number of the row

bEnable
Boolean: TRUE = hyperlink enabled, FALSE = hyperlink disabled

nFlags
Number: Currently unused. Reserved for future versions.

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example
In this example the hyperlink is enabled for a cell:

Call MTblDefineHyperlinkCell( hWndCol, nRow, TRUE, 0 ) 

Remarks
A cell text only acts as a hyperlink when the following conditions are true:

  • The cell isn't in a checkbox column
  • The cell isn't editable

See also
Hyperlinks

Created with the Personal Edition of HelpNDoc: Qt Help documentation made easy