View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jeff[_31_] Jeff[_31_] is offline
external usenet poster
 
Posts: 5
Default Getting hWnd for API call or Color choosing dialog

Hi All


I am using an API function and have to pass the Excel window handle. I have,
in vain, tried to figure this out. How do you get the window handle. I tried
xlGetHwnd which seemed to work but now it doesn't, which is really strange?

The API function is ChooseColor. This is so I can display a dialog for
choosing a color. If anybody knows another way of displaying a colour
choosing dialog this would also be good.

Jeff