Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
redraw/refresh dialog
#1
Is there a way to redraw/refresh the dialog?
Is this also applicable to a dialog control?

I have a situation where I disable/enable a menu item trough:

Code:
Copy      Help
EnableMenuItem hm 500  MF_GRAYED / MF_ENABLED

But the dialog does not update itself to reflect the disabled/enabled menu item.
(only when you attempt to click on the menu item it update itself).
That's why I want to redraw/refresh dialog (or the control itself).
#2
Windows API function InvalidateRect or RedrawWindow.
#3
thank you!


Forum Jump:


Users browsing this thread: 1 Guest(s)