掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
デュアルディスプレイで指定のモニタへ表示させるには (ID:66073)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
subaruさん、ありがとうございました。 解決しました。 BOOL CTestDlg::OnInitDialog() { //Append Start long x, y; HMONITOR MonitorHandle; MONITORINFO MonitorInfo; x = 1280; y = 0; POINT Point = {x, y}; MonitorHandle = ::MonitorFromPoint(Point, MONITOR_DEFAULTTOPRIMARY); MonitorInfo.cbSize = sizeof(MonitorInfo); ::GetMonitorInfo(MonitorHandle, &MonitorInfo); //Append End }
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.