An example of enabling pop-up suppression is:
DosSuppressPopUps(SPU_ENABLESUPPRESSION, 'A');
An example of disabling pop-up suppression is:
DosSuppressPopUps(SPU_DISABLESUPPRESSION, 0);