in a C++ Builder 6 code, I have this API call:
HWND hWnd edt = GetFocus();
dummy = GetClassName(hWnd, classname, 256);
AnsiString ClassNameA = classname;
if (ClassNameA == "TEdit")
and now I would ask you how I can get the component found as active focused? Something like (TEdit*) edt = (TEdit*)GetComponentFromhWnd(hWnd) so I can access to all properties?..
thanks a lot in advance!