What if I were to have a class for controls. Say I have this in my class, to get and EDIT's text:
int GetEditText(HWND hEdit, char szBuffer[100000], int maxlen) { GetWindowText(hEdit, szBuffer, maxlen); }
and in my program, use it like this:
CWin *edit1 = new CEdit;
edit1->GetEditText(...);
How would I, in teh class, use GetWindowText(...) with the pointer that calls it, so I can "edit1's" text?