What is HWND property? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: What is HWND property? (/Thread-What-is-HWND-property) |
What is HWND property? - chetan-24 - 01-01-2009 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 RE: What is HWND property? - Ankur - 01-01-2009 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. RE: What is HWND property? - nageshpv - 01-02-2009 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. |