View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
[email protected] chovatia.jaydeep@gmail.com is offline
external usenet poster
 
Posts: 4
Default Excel 2003 Context menu handle

Hi,

I want to hide context menu which appears when we right click on sheet
tab(Excel 2003). This context menu allows us to insert/rename/
delete/... particular worksheet. To get handler of Excel application,
i have written following code:

Please assume that my excel sheet is opened on desktop whose caption
is: "EXCELSHEET_TEST"
------------------------------------------------------------------------------------------------------------
HWND hwndExcelHandler = FindWindow(NULL, "EXCELSHEET_TEST");
------------------------------------------------------------------------------------------------------------

This code successfully returns handle of excel application, but i want
context menu handler(HWND), so that using context menu handle i can
hide it.

Thank you,
Jaydeep