More WIndows specific parts moved to this project
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace Toolkit.Windows;
|
||||
|
||||
public class TaskbarList(ITaskbar taskbar) :
|
||||
ITaskbarList
|
||||
{
|
||||
public IntPtr GetHandle()
|
||||
{
|
||||
nint rebarHandle = WindowHelper.Find("ReBarWindow32", taskbar.GetHandle());
|
||||
nint taskHandle = WindowHelper.Find("MSTaskSwWClass", rebarHandle);
|
||||
return WindowHelper.Find("MSTaskListWClass", taskHandle);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user