Thursday, October 10, 2024

How to get the property at run-time

Source code:

Here is the sample code:

If SalOutlineItemOfWindow( hWndItem ) > 0
    Call SalOutlineItemTypeText( SalOutlineCurrent( ), SalOutlineItemOfWindow( hWndItem ), CDK_IT_Editable, FALSE, sAttributeValue )

Number: CDK_IT_Editable = 0x0047
Number: CDK_IT_Justify = 0x008E

See cdk.apl for the complete list of CDK constants.

No comments: