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
|