Solved

Screen Graphics Borland C++ 4.0

Posted on 1997-07-08
7
262 Views
Last Modified: 2008-03-10
In 32-bit applications, how do I "play" with screen colors, fonts...  All "Help" areas claim not to use in 32-bit.
0
Comment
Question by:shewolf
7 Comments
 

Author Comment

by:shewolf
ID: 1164479
Adjusted points to 15
0
 
LVL 3

Expert Comment

by:LucHoltkamp
ID: 1164480
In dos: use conio.h and/or BGI.
In windows: use the OWL framework.

A vague question result in a vague answer, I'm not telepathic.
Also my talents and knowledge seem to vanish if they are not stimulated with at least 50 points :-)

.luc.
0
 

Expert Comment

by:ocurance
ID: 1164481
I figured for 15 points, that this was just a "play" question.  :-)
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 1

Expert Comment

by:navigator010897
ID: 1164482
Aside from the low point value -

you don't even mention if this is meant to be a 32bit dos (using a dos extender) app, or a Windows app.
0
 

Author Comment

by:shewolf
ID: 1164483
Currently in a DOS application...
0
 
LVL 4

Accepted Solution

by:
md041797 earned 50 total points
ID: 1164484
Link with BGI32.dll.  All the BGI32 drivers use the .dll extension instead of .bgi, .bgx.  The font files are the .fnt files.  The only bbgi functions you can't use are installuserdriver and registerbgidriver.  The only difference is with the detectgraph function which returns more vga types.
0
 
LVL 4

Expert Comment

by:md041797
ID: 1164485
If my answer is insufficient, you should give me an F so your question will go back to the queue to be answered by others.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

808 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