[hlcoders] Problem with Ingame VGUI screen not receiving input

2008-10-15 Thread Machiel
I am trying to make an ingame VGUI screen that accepts user input (sdk says that that is supported) I have my screen and can change the labels on it, but I can't click the buttons on it. What I want to make is something like this: http://developer.valvesoftware.com/wiki/Image:Granted_vgui.jpg

Re: [hlcoders] Problem with Ingame VGUI screen not receiving input

2008-10-15 Thread Steve Henderson
Machiel, A couple of things to try and check: Ensure that the following are enabled on the VGUI Panel/Screen: SetKeyBoardInputEnabled( true); SetMouseInputEnabled( true); Also ensure you patch the SDK as described here: http://developer.valvesoftware.com/wiki/VGUI_Screen_Creation (looks