The "grayed out" means that the widget is disabled.
You'll need to EnableWindow
on the widget.
Specifying EnableWindow(FALSE)
will disable the widget (window).
The tough part is to find out where or how this function is called.
The state may be specified in a resource file.
It may also be stated in an initialization method, or a constructor.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…