Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing Borland C++ programs

Status
Not open for further replies.

BrianMaynard

Programmer
Sep 26, 2002
2
ZA
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&)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top