函数简介:

获取窗口的标题

函数原型:

string GetWindowTitle(hwnd)

参数定义:

hwnd
整形数: 指定的窗口句柄

返回值:

字符串:
窗口的标题

示例:

 CString   hw;
 if (g_lw)
 {
  GetDlgItemText(EDIT2, hw);

  SetDlgItemText(EDIT1, g_lw->GetWindowTitle(StrToInt (hw)));
 }