Click here to Skip to main content
15,889,874 members
Articles / Programming Languages / C
Article

TextBox function in C

Rate me:
Please Sign up or sign in to vote.
1.00/5 (16 votes)
1 Oct 2004 51.3K   1.1K   13   6
complete textbox functionality in c-graphics
<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS--><!-- Download Links -->

Introduction

This Program provides complete functionality of textbox in
graphics mode.
i.e you can use HOME,END,INSERT,DEL,BACKSPACE,
LEFT ARROW,RIGHT ARROW etc.
 ->before running this program mention the path of bgiobj.exe in function
 initgraph in main.
 ->You can use this utility by including this file in your source
program and calling function textbox.
 ->It's syntax is
 void textbox (int leftx,int lefty,int righty);
 ->kindly remove the main function from this code while using function
 textbox
 ->Pressing of ESC key is the terminating condition
Limitations:-
 -> height of the text box is fixed
 -> you can not insert characters more than the width of textbox

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy eyes! My eyes! Pin
Robert Buldoc2-Oct-04 20:38
Robert Buldoc2-Oct-04 20:38 
QuestionWhat da heck Pin
YoSilver2-Oct-04 6:35
YoSilver2-Oct-04 6:35 
GeneralWrong article at CP!!! Pin
Balkrishna Talele1-Oct-04 23:32
Balkrishna Talele1-Oct-04 23:32 
GeneralRe: Wrong article at CP!!! Pin
Rui Dias Lopes2-Oct-04 1:19
Rui Dias Lopes2-Oct-04 1:19 
GeneralRe: Wrong article at CP!!! Pin
Balkrishna Talele2-Oct-04 1:23
Balkrishna Talele2-Oct-04 1:23 
QuestionDid you put any work into this??? Pin
WREY1-Oct-04 22:54
WREY1-Oct-04 22:54 
... any real, serious work?

Did you put any research into what you were going to do, BEFORE you did it?

Did you check CodeProject first to see the quality samples it has that would give a sense of guide for what you wanted to write?

Explain to this community how you have just improved it by submitting what you have written!

Hmmm | :|

William

Fortes in fide et opere!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.