S suger Unregistered / Unconfirmed GUEST, unregistred user! 2006-11-08 #2 if 窗口名.WindowState = wsMaximized then begin //执行相关代码! end; 这样判断就可以啦!