A
Abhishek
Hi,
How do i find the window caption by using the hmodule of that window?
Regards
Abhishek
How do i find the window caption by using the hmodule of that window?
Regards
Abhishek
Abhishek said:How do i find the window caption by using the hmodule of that window?
Abhishek said:you dont or you cant? sorry noob here. there will always be only one
instance of this window running.
Abhishek said:firstly thanks for replying,
I have a dll that is being called by an app,
the application may change but my dll will always be called since it is a
system wide hook.
I need to know the window caption of the app that loaded my dll.
Abhishek said:Yep the dll is a can cause a lot of problems, We are testing it a lot and
hope to resolve most of the issues.
Most?
When EnumWindows is used the results are not that accurate
and if there are child windows associated with the application i may get
the hwnd of the child window.
if my dll was launched by an exe with the caption "Testing for HWND". i
get the hmodule of this using GetModuleHandle(NULL).
OK.
if i can get the caption of this. I will get the hwnd of the parent window
using findwindow and using the caption.