Wednesday, 4 May 2011

Adobe ADM -32767 to 32768 range on numbers int issue

How to fix this issue with the Int variable range that is preset.

    itemRef = sADMDialog->GetItem(promptDialog, IDC_EDIT_STARTFROM);
    sADMItem->SetUnits(itemRef, kADMNoUnits);
    sADMItem->SetMaxIntValue(itemRef,999999);  // ****  this is required
    sADMItem->SetIntValue(itemRef,atoi(token));

No comments:

Post a Comment