Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 807

Community Plugins & Addons • Unable to use FindWindow on Rainmeter

$
0
0
balala's answer is probably the easier way to go if this is the only task your .exe is doing.

As far as why FindWindow is failing, I have no idea. You could try one of the following to see if they work.
  1. Also use the window's title: HWND rmWnd = FindWindow(L"DummyRainWClass", L"Rainmeter control window");
  2. Try using FindWindowEx (with and without the window's title): HWND rmWnd = FindWindowEx(NULL, NULL, "DummyRainWClass", NULL); or HWND rmWnd = FindWindowEx(NULL, NULL, "DummyRainWClass", L"Rainmeter control window");

-Brian

Statistics: Posted by Brian — Yesterday, 9:47 pm — Replies 2 — Views 37



Viewing all articles
Browse latest Browse all 807

Trending Articles