Page 1 of 1

Making own component

Posted: Tue Jul 27, 2010 7:39 pm
by GoodGuy17
Hello,
I was browsing over Google for some cool web browsers and I noticed how harshly they handled even the best browser. They said:
You are just using the component and repackaging it in a GUI. This is not hard, it sucks bla bla bla.
Well, is it possible to make your own Textbox component? Without using the textbox control. Like make it from scratch, with your own functions and all. Same with webbrowsers, media players, etc.

Re: Making own component

Posted: Tue Jul 27, 2010 7:43 pm
by Codex
i have heard that you can make your own webbrowser, but i dont think you can make a textbox from without using the built in one and adding functions.

codexvid

Re: Making own component

Posted: Tue Jul 27, 2010 8:02 pm
by mandai
To make a textbox all you have to do is make an image in a picturebox that responds like a textbox would (e.g. flashing line from a timer to show the caret position, key events to draw letters etc). Any control could be built like this. In fact you could just override the paint method of your form and draw the textbox directly to the form window.