Setting 1024x768 resilution through C++
-
"ChangeDisplaySettings" API can be used to change the settings of the default display device to the specified graphics mode.
Thanks & Rgds, Sri..
-
"ChangeDisplaySettings" API can be used to change the settings of the default display device to the specified graphics mode.
Thanks & Rgds, Sri..
-
What you have suggested can be sone using VC++. We are working in C graphics on Dos operating system.
-
sakssp wrote:
We are using TurboC++
Ops, I have only a little experience working in turbo c graphic. I guess you might be using the
initgraph()
to intialize the graphic screen isn't it? At the time when I worked in TC++, the graphic driver that came with the TC allowed me to set only a maximum 640X480 resolution. I think now they will be providing some new drivers. Get it and copy it to your TC\BGI folder also specify this file in the initgraph function.nave
-
sakssp wrote:
We are using TurboC++
Ops, I have only a little experience working in turbo c graphic. I guess you might be using the
initgraph()
to intialize the graphic screen isn't it? At the time when I worked in TC++, the graphic driver that came with the TC allowed me to set only a maximum 640X480 resolution. I think now they will be providing some new drivers. Get it and copy it to your TC\BGI folder also specify this file in the initgraph function.nave
-
What you have suggested can be sone using VC++. We are working in C graphics on Dos operating system.
sakssp wrote:
We are working in C graphics on Dos operating system.
Then why did you ask a "through C++" question in the VC++ forum? :rolleyes:
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
-
sakssp wrote:
How to set 1024x768 display resolution using C++ on MS-DOS?
try mode 13h... or it's better you shift to Windowsprogramming.. graphics programming is pretty much easier in windows programming..
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You