rc: extracted wincontrol custom defs