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: 2
Default HWND of Listbox in UserForm in Excel macro

Hi All,

I have created a wizzard like Excel macro application that uses UserForms as
dialogs. I have some listboxes on these dialogs. I would like to use
SendMessage to do some non trivial tasks on my control. All the examples I
have found on the Internet show that there is a hWnd property that contains
this value, but for my instance of Listbox vb complains that there is no
such property.

I have found this information at
http://forums.devx.com/archive/index.php/t-79377.html:

"The UserForm controls do not have a window handle property and the Forms
ListBox doesn't implement
the standard ListBox class."

My question is how to get the hwnd then, because this location does not
mention a way.

Thank you for all answers!

Regards,
Jozsi


 
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
resizing listbox columns in excel userform u9946675 Excel Programming 1 November 3rd 06 03:43 PM
userform listbox cannot get listbox.value to transfer back to main sub [email protected] Excel Programming 1 May 17th 06 09:44 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 05:11 PM.

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

About Us

"It's about Microsoft Excel"