Search found 9 matches
- Wed Feb 07, 2018 21:24
- Forum: Help
- Topic: [SOLVED] How can i use certain keys with CEGUI?
- Replies: 9
- Views: 9852
Re: [SOLVED] How can i use certain keys with CEGUI?
Yeah sure, i have a header and source script for my 3d opengl scene, and i had originally made all keyboard input from the scene scripts, and when i tried to set the CEGUI's input methods inside of my main.cpp and even inside my wndProc() function, then it began to respond properly to the backspace ...
- Wed Feb 07, 2018 19:25
- Forum: Help
- Topic: [SOLVED] How can i use certain keys with CEGUI?
- Replies: 9
- Views: 9852
Re: How can i use certain keys with CEGUI?
Hello again Ident, thanks to your suggestions i have managed to get the backspace working again :) I apparently could not use the typedef enum, i had to stay with my old setup which was using defines instead... But at least it's working again :D Thank you so much for your help and time, i really app...
- Tue Feb 06, 2018 21:37
- Forum: Help
- Topic: [SOLVED] How can i use certain keys with CEGUI?
- Replies: 9
- Views: 9852
Re: How can i use certain keys with CEGUI?
I mean that when i press the backspace button in / on a spinner which only contains numbers, then it won't delete the last number.
- Tue Feb 06, 2018 13:30
- Forum: Help
- Topic: [SOLVED] How can i use certain keys with CEGUI?
- Replies: 9
- Views: 9852
Re: How can i use certain keys with CEGUI?
this is what i have done like you mentioned: CEGUI::Key::Scan NZKeyToCEGUIKey(int key) { using namespace CEGUI; switch (key) { case NZ_BACKSPACE: return Key::Backspace; case NZ_TAB: return Key::Tab; case NZ_ENTER: return Key::Return; case NZ_PAUSE: return Key::Pause; case NZ_ESCAPE: return Key::Esca...
- Tue Feb 06, 2018 13:22
- Forum: Help
- Topic: [SOLVED] How can i use certain keys with CEGUI?
- Replies: 9
- Views: 9852
Re: How can i use certain keys with CEGUI?
I have done it like that, only with my own setup like VK_RETURN is the equivalents to my own NZ_ENTER just like that.
If it's not what you meant, then i cannot see how i am supposed to use other input tables when i strictly use WINAPI for windows.
If it's not what you meant, then i cannot see how i am supposed to use other input tables when i strictly use WINAPI for windows.
- Tue Feb 06, 2018 05:40
- Forum: Help
- Topic: [SOLVED] How can i use certain keys with CEGUI?
- Replies: 9
- Views: 9852
[SOLVED] How can i use certain keys with CEGUI?
Hi i am using Win32 Winapi with opengl to use the CEGUI, and i have stumbled upon an problem right now: I can use every letter key, number key and sign keys, but i cannot use my arrow keys or backspae and enter / return and delete keys... i have made my own input class for the different keys and mou...
- Sun Jul 09, 2017 14:20
- Forum: Help
- Topic: [SOLVED] Titlebar crashes my program!
- Replies: 4
- Views: 4349
Re: Titlebar crashes my program!
I have just tried it out, and now the titlebar from the direct FrameWindow class does NOT crash my program anymore Thank you very much Ident
- Sun Jul 09, 2017 14:15
- Forum: Help
- Topic: [SOLVED] Titlebar crashes my program!
- Replies: 4
- Views: 4349
Re: Titlebar crashes my program!
Hi, i honestly do not know, but i will give it a shot here in a minute, and try to just create a direct framewindow :) I had the titlebar on it's own, but i have in the same initialization function a groupbox which uses the image from a framewindow. But, i will try and just make a framewindow and se...
- Sun Jul 09, 2017 14:01
- Forum: Help
- Topic: [SOLVED] Titlebar crashes my program!
- Replies: 4
- Views: 4349
[SOLVED] Titlebar crashes my program!
Hi i am back with a problem i don't know how to fix. I have tried to find a function that will either disable any input from the dropdown arrow on the Titlebar... I'm currently using AlfiskoSkin's Titlebar, and it has an arrow pointing down at the very left of the titlebar's text. The arrow crashes ...