please write a code to get the window title in c++

i want a feature in my project through which i can get the title of the window. since i am not an expert in C++, so please can anyone help me out from this. i will be very thankful to him/her
Last edited on
Use GetWindowText() API or send WM_GETTEXT message if you have a handle to that window.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633520%28v=vs.85%29.aspx
sir, i am not perfect in c++ and that's why it can't understand what u are saying. :(
Topic archived. No new replies allowed.