Jacek Caban : mshtml: Pass window to GetCommandState and DoCommand.