To remove shadows from a window, specify OFF for the location, NULLPARM for the fill character, and NULLPARM for the attribute in the sw_shad() call. For example:
sw_shad(NULLPARM, NULLPARM, OFF, wnp);
NULLPARM is a #defined NULL parameter. It will be ignored.