PDA

Click to See Complete Forum and Search --> : Text box bigger than form, can it be done?


Hackerson
Nov 15th, 2000, 09:26 AM
Here is the scenario: I wrote a program that resides as a toolbar on my screen. This toolbar allows the user to send and recieve net send messages in NT. Its pretty cool, does what I need, now it is time to make it a little more functional. The text box to enter the message is a little small due to it being on a toolbar smaller than the system bar. It only shows one line at a time so multi-line messages are a bit difficult.

What I want is to make the text box "extend" beyond the form below, or above (depending on where the bar is docked). I have looked for various demos and at alot of api tutorials, but can't find anything like this. Is this even possible?

Thanks for any ideas you guys/gals have.

Nov 15th, 2000, 02:31 PM
Easy. At design time, make the Form bigger than you need, draw a TextBox the size of the Form, then shrink the Form to the size you want.

This will make the Form smaller than the TextBox.

Hackerson
Nov 15th, 2000, 02:38 PM
of course, why didn't I think of that......?

I think I am going to try and just fake it with another form the same width as the text box and just overlay it once focus is set to the said text box.