Hwnd of a dialog box

NigelShaw

Registered User.
Local time
Today, 18:01
Joined
Jan 11, 2008
Messages
1,575
Hi guys

I'm working on a taskdialogindirect tool and part of the ain function is to use the SendMessage function. I am trying to get the Hwnd of the dialog box so I can assign a progress range to it but cannot seem to get it right. Do I-

Use FindWindow to get Hwnd?
Need to get the Hwnd of the progress as well as the dialog window?


I'm It entirely sure how to get this working. In VB it's as simple as

TaskDialog.Progressbar but in vba, I need the Hwnd of the taskdialogindirect

Any ideas?



Cheers


Nidge
 
I've not used nor heard of that tool/control before. Does intellisense not provide a hwnd property?

ControlName.hwnd
 
Hello mate

The TaskDialogIndirect is a set of functions that call the Vista dialogs. These are and look a lot better than the standard message boxes we all know and are also customizable. They are not a tool nor control so your offered method is not available. It's a windows vista control so in order to successfully get a progress bar to work it seems I have to assign a hwnd to send message


I'll post a sample


N
 
It most likely requires the Hwnd of the Access application.
 

Users who are viewing this thread

Back
Top Bottom