Store window maximize state as hex value