由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - how to write some C/C++ program to enable dual monitor?
相关主题
Visual Studion 10, C++ string问题:表现不一致multi-thread 一问,
c++问题调用win32 DLL的问题
C++ string类输入数据的问题About command line in C++
Recommend a C++ IDE?在C/C++里的文件复制操作
受不了拉 - 技术发展太快!!! 学啥才不过时? (转载)Windows XP与Multithreading Programming
如何在VC++下把raw图像快速写到硬盘里呢?有必要学一学MFC吗?
Help - C++ Debug Assertion Failed请教C++程序中手动Ctrl+C后,如何才可以调用一下自己写的退出函数
一个有关visual stdio 2005的问题【C++ GUI和.Net GUI的工作要看什么书啊?】 (转载)
相关话题的讨论汇总
话题: monitor话题: c++话题: enable话题: second话题: images
进入Programming版参与讨论
1 (共1页)
S*********r
发帖数: 42
1
Your suggestion is needed:
My software being developed needs to display images to the second monitor (
DVI). How to use C/C++ to enable the second monitor or directly display
images onto it even though the dual monitor has not been set up? we are not
allowed to manually enable the second monitor.
Thank you.
t****t
发帖数: 6806
2
it has nothing to do with C/C++. C/C++ does not even require you to have a
monitor.

not

【在 S*********r 的大作中提到】
: Your suggestion is needed:
: My software being developed needs to display images to the second monitor (
: DVI). How to use C/C++ to enable the second monitor or directly display
: images onto it even though the dual monitor has not been set up? we are not
: allowed to manually enable the second monitor.
: Thank you.

s*****y
发帖数: 897
3
Is it possible for you to do it through calling some Win32 API?

not

【在 S*********r 的大作中提到】
: Your suggestion is needed:
: My software being developed needs to display images to the second monitor (
: DVI). How to use C/C++ to enable the second monitor or directly display
: images onto it even though the dual monitor has not been set up? we are not
: allowed to manually enable the second monitor.
: Thank you.

S*********r
发帖数: 42
4
I understand that it is supposed to have nothing related to C++/C. My
question is how I can write some code to enable the second monitor if it is
not enabled yet.

【在 t****t 的大作中提到】
: it has nothing to do with C/C++. C/C++ does not even require you to have a
: monitor.
:
: not

S*********r
发帖数: 42
5
This is exactly what I am looking for.

【在 s*****y 的大作中提到】
: Is it possible for you to do it through calling some Win32 API?
:
: not

s*****y
发帖数: 897
6
I think you need to get the interupt handerler of the second monitor.

【在 S*********r 的大作中提到】
: This is exactly what I am looking for.
t****t
发帖数: 6806
7
since you understand that, why don't you provide more detail? it's OS's
business to handle these things. at least you need to tell us what's the OS,
and what's the platform!

is

【在 S*********r 的大作中提到】
: I understand that it is supposed to have nothing related to C++/C. My
: question is how I can write some code to enable the second monitor if it is
: not enabled yet.

S*********r
发帖数: 42
8
I use CDialog in Visual Studio on XP as follows. It checks the number of
monitors and specify the display window size. I need someone to give me some insights about how to do the following:
1. A quick fix would be to enable the 2nd monitor if it is not enabled.
2. I would like to get rid of the stupid CDialog and replace it with
directly displaying images by sending images to the video port.
Note: if the 2nd monitor is disabled, GetSystemMetrics(SM_CMONITORS) return 1.
BOOL CMyWin::OnInitDialog(

【在 t****t 的大作中提到】
: since you understand that, why don't you provide more detail? it's OS's
: business to handle these things. at least you need to tell us what's the OS,
: and what's the platform!
:
: is

1 (共1页)
进入Programming版参与讨论
相关主题
【C++ GUI和.Net GUI的工作要看什么书啊?】 (转载)受不了拉 - 技术发展太快!!! 学啥才不过时? (转载)
Visual C++ Express 很土的问题求救如何在VC++下把raw图像快速写到硬盘里呢?
programming windows求教Help - C++ Debug Assertion Failed
在visual C++ 程序里播放mp3一个有关visual stdio 2005的问题
Visual Studion 10, C++ string问题:表现不一致multi-thread 一问,
c++问题调用win32 DLL的问题
C++ string类输入数据的问题About command line in C++
Recommend a C++ IDE?在C/C++里的文件复制操作
相关话题的讨论汇总
话题: monitor话题: c++话题: enable话题: second话题: images