Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is HWND property?
#1
Solved: 10 Years, 8 Months, 4 Weeks ago Wink 
Code:
hwnd3 = Browser("Secure-Place8Image-FC-SRC").GetROProperty("hwnd")

could anyone please spacify what is hwnd property in QTP?
the above code return value like: 10291554

Thanks
Chetan
Reply
#2
Solved: 10 Years, 8 Months, 4 Weeks ago
Nice question.

hWND breaks up into h+ WND = handle +Windows. You can reference a window through its handle.

Here is a nice definition of hWND:

A window handle (usually shortened to hWnd) is a unique identifer that Windows assigns to each window created. By window in this case we are referring to everything from command buttons and textboxes, to dialog boxes and full windows.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 10 Years, 8 Months, 4 Weeks ago
But i guess we can't use this property to identify the windows, because this HWND porperty changes everytime when the object is created. Please correct me if i am wrong.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Identifying new IE window using HWND Archens 5 5,263 03-08-2012, 08:47 PM
Last Post: Archens
  how to check checkbox's readonly property if developer has not used this property blanchedsouza 0 4,494 05-15-2008, 04:27 PM
Last Post: blanchedsouza

Forum Jump:


Users browsing this thread: 1 Guest(s)