MFC button disabled
m_Bn_xxx.EnableWindow(FALSE);
I encountered a very stupid problem (every time I disable it, it becomes usable by myself), and I found out the problem after working all afternoon. I
wrote a OnKickIdle()
function, which can realize the loop, and I wrote it again in the function body UpdateDialogControls(this,TRUE)
; the result is Constantly updating, even though I have set the buttons to be disabled, it still has no effect.