BrianMaynard
Programmer
I have an API program that Analyzes a programs menus and then displays them form me. I can then select the menu option that I would like to execute on the remote program. The problem is that when I try to execute a Borland C++ program using the following API it returns 0 and thus does not accept the API call. Does anybody know why?
slMenuID = GetMenuItemID(txtHandle, txtNumber)
rc = SendMessage(hwndHold, WM_COMMAND, slMenuID, 0&)
slMenuID = GetMenuItemID(txtHandle, txtNumber)
rc = SendMessage(hwndHold, WM_COMMAND, slMenuID, 0&)