End Google Ads 201810 - BS.net 01 --> I use CNewMenu V1.23 to pop up a context menu. It is working fine under most of situations, except the situation when the screen is locked by winlogon.

The symptom is that it pops up only a black rectangle, as the screenshot in below link.
Screenshot[^]

The step to reproduce is:
1) Keep the application window open.
2) Press Ctrl-Alt-Del, and choose "Lock this computer".
3) Have the application pop up the context menu. In my case, it is the hardware signal input as the trigger.
4) Input Windows password to unlock the screen.
5) The popup menu is black (blank).

CNewMenu::DrawItem was only invoked when the menu was popping up. And the parent window (the owner of the menu) is still stuck by the call CMenu::TrackPopupMenu. There is no signal to let the menu repaint / redraw at the moment the screen is being unlocked.

Is there any method to cause the menu to update?

Maxwell Chen