Click here to Skip to main content
Licence 
First Posted 1 Oct 2004
Views 34,255
Bookmarked 13 times

TextBox function in C

By | 1 Oct 2004 | Article
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

About the Author

Mahendra Batra

Web Developer

India India

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralMy eyes! My eyes! PinmemberRobert Buldoc20:38 2 Oct '04  
QuestionWhat da heck PinmemberYoSilver6:35 2 Oct '04  
GeneralWrong article at CP!!! PinmemberBalkrishna Talele23:32 1 Oct '04  
GeneralRe: Wrong article at CP!!! PinmemberRui Dias Lopes1:19 2 Oct '04  
GeneralRe: Wrong article at CP!!! PinmemberBalkrishna Talele1:23 2 Oct '04  
QuestionDid you put any work into this??? PinmemberWREY22:54 1 Oct '04  

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

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

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 2 Oct 2004
Article Copyright 2004 by Mahendra Batra
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid