Get window handle from window class name

I'm trying to get a window handle on a child window in my process and the only information I have is the window class name. Are there any win32 functions I can use for that? I'm doing this from C#.

A bit more detail: This is a Visual Studio plugin, written in C#. So my process is visual studio, which has lots of windows. One of them has a window class "VsTipWindow". I don't know the immediate parent window of that window, all I have is the class name. Is there any way for me to get the window handle from just that?

链接地址: http://www.djcxy.com/p/1014.html

上一篇: 用于处理HardDeadlineExceededError的任务策略

下一篇: 从窗口类名获取窗口句柄