Consultor Eletrônico



Kbase 18793: WIN32 API - CheckMenuItem Will Not Cause Event to Fire
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/04/1999
SUMMARY:

Using the CheckMenuItem() Win32 API call will cause the menu item to
become checked (or unchecked if it is already checked) but it will
not cause the VALUE-CHANGED event to fire.

EXPLANATION:

This is because Progress is looking for a WM_COMMAND message to notify it that a menu item has been selected. You will need to modify your code so that it uses the SendMessage function and passes a WM_COMMAND message.