LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
autofilter dialog boxes - can i call this up in the Mr BT Excel Worksheet Functions 3 January 15th 09 09:23 PM
Dialog For Choosing A File as a string Gjones Excel Programming 2 April 13th 04 07:11 PM
color function causes save dialog? Michael Purcell Excel Programming 2 February 18th 04 09:12 PM
hWnd of UserForm rsmith Excel Programming 3 February 10th 04 12:32 AM
how to get hwnd from application object? Erwin Kalvelagen Excel Programming 2 December 16th 03 07:12 PM


All times are GMT +1. The time now is 06:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"