This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C3B597.FC516DF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I want to know how to getclassname of application from python..In =
python There is no method like GetClassName...
Presumably you want to access this win32 API:
----
GetClassName
The GetClassName function retrieves the name of the class to which the specified window belongs.
int GetClassName(
HWND hWnd, // handle of window
LPTSTR lpClassName, // address of buffer for class name
int nMaxCount // size of buffer, in characters
);
----
Most people here probably think of something different when you say "class" ;-)
IOW, best to mention the windows connection, if it's not strictly a Python question.
There are extension modules that will let you get at the win32 api. E.g.,
see Mark Hammond's win32all at
http://starship.python.net/crew/mhammond/win32/Downloads.html
or Thomas Heller's ctypes module at
http://starship.python.net/crew/theller/ctypes/
Is there any other Method ...I kindly give some example in python..
If anyone answer to the above problem....I will be very =
thankfull to you...
Note:- Using Python Application, I want to Get the ClassName of any =
Application.
------=_NextPart_000_0009_01C3B597.FC516DF0
Content-Type: text/html;
If you want to avoid annoying some people here (good strategy if you want help ;-)
please try to avoid posting HTML to the newsgroup.
Regards,
Bengt Richter