Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

TextBox function in C

0.00/5 (No votes)
1 Oct 2004 1  
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