Searching Answer For GUI-Coding

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
zyclop
Posts: 17
Joined: Mon Jan 21, 2008 8:48 am

Searching Answer For GUI-Coding

Post by zyclop »

Hi,

currently I am coding a launcher for my game...
few days ago I have seen a nice GUI, and now I have a problem:
I don't know how i can coding this textarea such like on the picture:
Image
I don't know how I do the background transparent.

I am using Visual Studio 2005 and testing the new learnd language:
C# (.NET)

I have searched everywhere, but I found nothing. I want to know only how I can create a transparent TextBox or something like that on the picture.

I know that there is an own Board for .NET but I think this is not a .NET question. I'm sure it can be realized with VB or C++ too!

Greez zyclop
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

It's just like an edit box, with a transparent background. You can make edit boxes have transparent backgrounds, it's either a parameter of the function that adds the edit box or a function of the edit box itself that you can call.
Image Image Image
zyclop
Posts: 17
Joined: Mon Jan 21, 2008 8:48 am

Post by zyclop »

In C# it is called RichTextBox... and it doesn't allow a transparent background... there will appear an error :(

I found out, that I can creat an own color with:

Code: Select all

Color customColor = Color.FromArgb(50, Color.Gray);
this is an nearly transparent grey. But I occurs the same error, when putting it on my TextBox -_-
panzooka
Posts: 1
Joined: Mon May 19, 2008 1:33 pm

Post by panzooka »

why do u see it as "transparent" background? does the text box moves? if not, its just a cut-out, darkened version of the picture in the background

get the idea?
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

panzooka wrote:why do u see it as "transparent" background? does the text box moves? if not, its just a cut-out, darkened version of the picture in the background

get the idea?
Genius 8)

dude he only has one post lol he made it special for you!
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Midnight wrote:dude he only has one post lol he made it special for you!
:roll: Yeah and wth is a "panzooka"? A bazooka that shoots pandas?
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Post Reply