自己在程序中使用SystemParametersInfo锁住,对话框自己写,对了,再用SystemParametersInfo解开不就行了。