![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#6
|
|||
|
|||
|
De nuevo de la ayuda de Win32 Programmer's Reference
The GetWindowText function copies the text of the specified window's title bar (if it has one) into a buffer. If the specified window is a control, the text of the control is copied. int GetWindowText( HWND hWnd, // handle of window or control with text LPTSTR lpString, // address of buffer for text int nMaxCount // maximum number of characters to copy ); Parameters hWnd Identifies the window or control containing the text. lpString Points to the buffer that will receive the text. nMaxCount Specifies the maximum number of characters to copy to the buffer. If the text exceeds this limit, it is truncated. Return Values If the function succeeds, the return value is the length, in characters, of the copied string, not including the terminating null character. If the window has no title bar or text, if the title bar is empty, or if the window or control handle is invalid, the return value is zero. To get extended error information, call GetLastError. |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Ventana Activa | brandolin | OOP | 1 | 06-02-2006 23:46:43 |
| como saber que columna del dbgrid esta activa? | JavierO | Varios | 4 | 02-11-2005 19:55:26 |
| como saber si una vandera (flag) esta activa o no en una variable DWord | orfeo | API de Windows | 4 | 03-03-2005 22:22:00 |
| Como averiguar el usuario de windows | Telemaco | PHP | 8 | 26-07-2004 10:15:10 |
| cual es la carpeta de la ventana activa | chavetaz | API de Windows | 7 | 02-01-2004 21:24:31 |
|