buenas, estoy intentando aprender la api de windows pero no me entero de mucho, en la funcion CreateWindowEx en que variable se guarda el texto que pongo para poder hacer calculos con el?
¿Que le estas pasando como lpClassName?
CreateWindowEx function (https://msdn.microsoft.com/en-us/library/windows/desktop/ms632680%28v=vs.85%29.aspx)
esto L"EDIT"
Edit Control (https://msdn.microsoft.com/en-us/library/windows/desktop/bb775458%28v=vs.85%29.aspx)
Edit Control Text Operations (https://msdn.microsoft.com/en-us/library/windows/desktop/bb775460(v=vs.85).aspx)
Cita de: msdnSetting and Retrieving Text
An application can set the text of an edit control by using the SetWindowText function, the SetDlgItemText function, or by sending the contol a WM_SETTEXT message.
To retrieve all text from an edit control, first use the GetWindowTextLength function or the WM_GETTEXTLENGTH message to determine the size of buffer needed to contain the text. Next, retrieve the text by using the GetWindowText function, the GetDlgItemText function, or the WM_GETTEXT message.
El problema es que esta todo en ingles y traducido con el traductor de google tampoco me entero de mucho, podrias poner un ejemplo de codigo y explicarme en que variable se guarda? te lo agradeceria mucho
Si lo que queres es OBTENER el valor de un Edit - que es una cadena de caracteres ANSI o Unicode - podes hacerlo asi (ej. ANSI):
char szBuf[80] = { 0 };
SendMessage(hwnd, WM_GETTEXT, sizeof(szBuf), (LPARAM)szBuf);