SAM_CaptionDoubleClick is sent to a table window and a table window column when you double click on a table window column title. To retrieve the table window column's window handle in wParam, use SalNumberToWindowHandle. Message Variables hWndForm Handle of the table window. hWndItem Table window handle in table window message actions, column handle in column message actions. wParam Handle of the column. IParam Unused. Example Table Window: tbl1 ... Message Actions On SAM_CaptionDoubleClick Set hWndCol = SalNumberToWindowHandle( wParam ) Call SalTblSetColumnFlags( hWndCol, COL_Selected, TRUE ) Set nMaxLength = 15 Set nColLength = SalTblGetColumnTitle( hWndCol, sColTitle, nMaxLength ) Call SalMessageBox( 'You double-clicked the title ' || sColTitle ,'Info' , MB_Ok ) Call SalTblSetColumnFlags( hWndCol, COL_Selected, FALSE )

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_CaptionDoubleClick

See Also