XNA Game Development Forums
2012/05/21 19:22:15 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: usercontrols over gamewindow and keyboard problem  (Read 1465 times)
XNASorcerer
Newbie
*
Offline Offline

Posts: 25



View Profile
« on: 2007/05/05 16:46:18 »

Hi.

I am having the following problem. I am creating a Scene Editor, by using UserControls and making them to show over the game window. My problem is that I can not use the keyboard to write inside the controls. The mouse clicking works, but not the keyboard.

Does anyone have any ideas?

Thanks
Logged
DaphydTheBard
Jr. Member
**
Offline Offline

Posts: 55


View Profile
« Reply #1 on: 2007/05/07 15:06:19 »

urgh...

Windows controls on top of your render window?  Tongue

Two suggestions.

Build your own GUI.

or

Use a pop-up window for your controls.
Logged
Chr0n1x
Global Moderator
Sr. Member
*****
Offline Offline

Posts: 307


View Profile WWW
« Reply #2 on: 2007/05/09 00:52:09 »

Or, put the XNA game into a panel inside a WinForms app. There were some posts on here about doing that, and Ziggyware has a good article on it. (Tip: See the comments for a better implementation)
Logged

Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Got a problem with an .x file Hazy Mind XNA Engine bobbie_dache 8 2784 Last post 2007/01/16 12:26:30
by bobbie_dache
Animations! But one problem... Hazy Mind XNA Engine EclipsE 2 1415 Last post 2007/04/12 02:42:27
by EclipsE
tutorial 4 problem Hazy Mind 3D Engine precious roy 3 2499 Last post 2007/08/03 12:24:26
by mikeschuld
Interface problem. Help!! General Discussion XNASorcerer 5 2111 Last post 2007/05/09 09:46:36
by CarlosFreitas
ObjectManagers problem Hazy Mind XNA Engine Jonotron 1 1340 Last post 2007/08/03 12:29:19
by mikeschuld
Camera problem Hazy Mind XNA Engine Montynis 2 1685 Last post 2007/08/02 09:54:14
by Montynis
Problem with the pick Hazy Mind 3D Engine Zandman26 0 1422 Last post 2007/08/06 15:04:06
by Zandman26
Animation Problem.. Hazy Mind XNA Engine DoomMarine 10 3540 Last post 2008/04/25 19:32:58
by DoomMarine
Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.276 seconds with 18 queries.