Randolf Schultz
2006-01-24 08:44:51 UTC
Hi,
in my DocView MFC application some menu entries in the File menu
(like e.g. Save and unfortunately also my own entry) are not
enabled until I click into the application window (regardless
of mouse button used). My ON_UPDATE_COMMAND_UI handler is also
not called (until this first click happens). I tried to send
myself this click using PostMessage() and mouse_event() to no
avail, only real clicks are accepted. I can also load documents
into my application using keyboard navigation only, but no
saving until I click. This is driving me mad. Do you have any idea?
best regards,
Randolf,
in my DocView MFC application some menu entries in the File menu
(like e.g. Save and unfortunately also my own entry) are not
enabled until I click into the application window (regardless
of mouse button used). My ON_UPDATE_COMMAND_UI handler is also
not called (until this first click happens). I tried to send
myself this click using PostMessage() and mouse_event() to no
avail, only real clicks are accepted. I can also load documents
into my application using keyboard navigation only, but no
saving until I click. This is driving me mad. Do you have any idea?
best regards,
Randolf,
--
http://www.ayam3d.org/ Reconstruct the World!
http://www.ayam3d.org/ Reconstruct the World!