Comment 38 for bug 597825

Revision history for this message
In , Ehsan-mozilla (ehsan-mozilla) wrote :

I gave this a shot, but it seems like either the description in <http://blogs.msdn.com/oldnewthing/archive/2005/05/03/414317.aspx> is flawed, or I'm missing somethign serious. I sent WM_CHANGEUISTATE, but never received a WM_UPDATEUISTATE notification. Calling WM_QUERYUISTATE half works: it detects if you press Alt for the first time, and can draw the underlines accordingly, but it wouldn't detect the next Alt press, which should clear the underlines from menus, for example. And detecting if a window has been opened via keyboard doesn't function correctly as well...

Does anyone know of better docs as to what should exactly happen to receive EM_UPDATEUISTATE?