Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've been trying to create a Text Box for users to type in, in DirectX 8.1, but I could not find the class for it. All I can find is the Edit Box.

 

So right now, I'm creating a 9 line Text Box from 9 separate Edit Boxes. Any chance this can work, because I'm already running into problems when handling new line, backspace, delete and insert keyboard characters. Tracking the text cursor is also another problem.

 

Anyone has some idea on how to create Text Boxes other than the method that I am resorting to?

Posted

Is DirectX 8.1 even available for .NET?

Why can't you just use the textbox control provided with .NET? You just have to enable the MultiLine property and you can type in multiple lines.

 

-The Pentium Guy

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Posted

Yea 8.1 is available for .NET. In any case, I was also unable to find the TextBox control for 9.0c.

 

I need to use directx because I'm creating a 3D-game like program and i need to draw an transparent / translucent Textbox control, so I cant use the Textbox control provided by .net (unless it can achieve transparency)

 

Btw, I've tried employing a textbox in an MFC window but it jumps out of my 3D-game when I activate my MFC window.

Posted

THe textbox control can acheive transparency (I think), there's an opacity property for a lot of the controls. Even the form has that property.

Sorry if that doesn't help you.

-The Pentium Guy

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...