PM_AttachmentKeysGet

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

Ifs.Fnd.ApplicationForms.Const.PM_AttachmentKeysGet

The Application Forms Framework sends PM_AttachmentKeysGet to a data source to get the Keys of the records for which the attachments should be loaded.

Parameters

Name Description
nWhat = wParam Unused
lParam Unused

Returns

Returns a cMessage containing key names and handles of the controls for each key.

Example

switch (message.Code)
{
    case Ifs.Fnd.ApplicationForms.Const.PM_AttachmentKeysGet:
        message.Handled = true;
        cMessage Msg = new cMessage();
        Msg.AddAttribute("ORDER_NO", Sal.NumberToStrX(Sal.WindowHandleToNumber(hWndOrderNo),0);
        Msg.AddAttribute("PART_NO", Sal.NumberToStrX(SalWindowHandleToNumber(hWndPartNo),0);
        message.Return = Sal.HStringToNumber( Msg.Pack() );
    break;
}