473,385 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

what is the use of textmode() in c++

1
i want to know what exactly is textmode() used for and what does textmode(c80) mean?
Jan 28 '13 #1
1 11064
Textmode() is a function defined in conio.h.........

Changes screen mode (in text mode)

Declaration: void textmode(int newmode);

Remarks:
textmode selects a specific text mode.

You can give the text mode (the argument
newmode) by using a symbolic constant from the
enumeration type text_modes (defined in
CONIO.H).

If you use these constants, you must include
CONIO.H.

When textmode is called, the current window is
reset to the entire screen, and the current
text attributes are reset to normal,
corresponding to a call to normvideo.

Specifying LASTMODE to textmode causes the
most recently selected text mode to be
reselected.

textmode should be used only when the screen
is in text mode (presumably to change to a
different text mode).

When the screen is in graphics mode, use
restorecrtmode to escape temporarily to text
mode.
Jan 29 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: tom | last post by:
Hello, I have an asp.net web application where I want people to register themselves. This takes them through a few pages with prev/next functionality. In one of the pages they provide a...
2
by: ChInKPoInt [No MCSD] | last post by:
1. Is there anyway to preload password? Text attribute doesn't work <asp:TextBox ID="Pass" TextMode="Password" Runat="server" Text="Hello"> 2. In the same form, if other elements such as...
4
by: MA | last post by:
Hi all! I have a problem here. I have a web page for user administration. On this page I have a textbox for password. This textbox are in TextMode password. But when I get data, via a data...
0
by: Kumar | last post by:
Hello All, I am trying the following in one of the DataGrid column. The intent is to enable users to edit their password without actually displaying it. <asp:TextBox id='Password'...
2
by: Kerri | last post by:
Hi, I have an asp textbox that allows users to enter their password. I have another page that allows a user to edit their user account. On this page I set the text to be the password in...
4
by: Jonathan Dienst | last post by:
I have a simple data access and administration page for user details on my site, including a login password -- but I cannot get the textbox to work properly if the TextMode is set to "Password". ...
1
by: Ather Ali Shaikh | last post by:
Hello I have a control TextBox with TextMode = Password fine. I am suppose to save LoginID and Password in a cookie fine. But when I read the cookie and display the key/values of the LoginID and...
3
by: RSB | last post by:
Hi Guys.. its me again.. ;o)) now i have a TextBox with properties Textmode = singleline and MaxLength = 100. So this works fine and i cannot enter more then 100 Chars. But as soon as i...
1
by: Miguel Dias Moura | last post by:
Hello, i added an ASP.Net input text form in a page: <td> <asp:TextBox ID="CV" Rows="15" runat="server" TextMode="MultiLine" Columns="66" ToolTip="Insert your CV" MaxLength="2000" /> </td> ...
4
by: John Kotuby | last post by:
Hi all, I have a simple user-form which accepts contact and profile information for the user to edit and save. All the textboxes are working fine and displaying the expected data, both when the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.