2015-05-05から1日間の記事一覧

Metro, ユニバーサルアプリ, HWND

ユニバーサルアプリでHWNDを必要とする例は滅多にないだろうけど、こんな方法で取得できるらしい。 extern "C" int __stdcall GetWindowTextW(HWND hwnd, PWSTR text, int count); #pragma comment (lib, "user32.lib")struct __declspec(uuid("45D64A29-A63…