Thomas Weidenmueller wrote: > 4. It sets the last error code to ERROR_INVALID_MENU_HANDLE and > returns FALSE if the window handle is invalid It's supposed to be ERROR_INVALID_WINDOW_HANDLE of course. Thomas