Getting hWnd for API call or Color choosing dialog

From: Jeff (jeff.pritchard_at_asken.com.au)
Date: 06/03/04


Date: Thu, 03 Jun 2004 23:44:39 GMT

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