Solved

How do you put the whole card into windowed mode? Is there a way to do this that any card could hadle?

Posted on 2009-05-08
3
277 Views
Last Modified: 2012-05-06
How would you put a graphics card into windowed mode to allow for pixel mapping? Is there a way to do this that any card could handle?
0
Comment
Question by:deer22
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Jens Fiederer earned 500 total points
ID: 24340035
The video card itself would not be in a "windowed" mode.

Modes of the card control how video memory is mapped into pixels.

Pretty much all standard cards support the old VGA modes....
see ( http://en.wikipedia.org/wiki/VGA )

Many modern graphics cards go beyond that, and allow you to map memory locations directly to pixels (letting you have as many colors on the screen as you have pixels - that's when they talk about "16 bit" color or "32 bit" color), but the old VGA (and before that, EGA and CGA) modes mostly used a palette (CLUT) - only the "16 bit" color mode allowed each pixel to indepently specify 5 bits of each of the 3 color components.

These modes are what you see changing when you use the OS to resize screen resolution (and what happens when a full-screen game takes over your display).

"Windowed mode" is not a mode of the card, it is a mode of the OS.  It means that the user gets to pick the screen resolution using the control panel (assuming Windows), and that the OS controls display of the windows, allowing the applications to touch only their own space (there are ways to "escape" that space, but no reasonable way for one app to have a different screen resolution than another that is displayed at the same time ).   This does not let an app like a game really do all the cool things that a video card might allow it to do, so there is also a "Fullscreen" mode that gives the game full control over the display -  letting it set video card modes, do 3-d graphics, all that sort of thing - as long as "Fullscreen" mode is enabled, the OS pretty much forgets about doing display, and other apps can't use the display.

Using DirectDraw Palettes in Windowed Mode IS possible, but of limited usefulness - since changing the palette would mess up any OTHER windows that were being displayed, why not use full screen so you have the whole screen to yourself?

http://msdn.microsoft.com/en-us/library/ms893856.aspx

http://books.google.com/books?id=lRUj-nhQRu8C&pg=PA386&lpg=PA386&dq=directdraw+palette+%22windowed+mode%22&source=bl&ots=7vD64yM-0x&sig=8ZWg49GG1fqQ3yuSDpF_VAXhZso&hl=en&ei=7ZcESqfeM9fHtgf0n5DtBg&sa=X&oi=book_result&ct=result&resnum=7
0
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 24340047
0
 
LVL 3

Author Closing Comment

by:deer22
ID: 31579618
Thank you!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question