Search found 6 matches

by Richard
06 Aug 2019, 14:28
Forum: General Discussion
Replies: 10
Views: 501

Re: KeyDown KeyUp for symbols

By modified codes below, it works for more symbols, but the some keys (arrows, space, backspace etc) going through the mKeyDown that don't go to the event handler OnkeyDown add code block in Src/Packages/App/XDisplay/Src/XDisplay.cpp case XK_exclam: return Key_OemExclam; case XK_quotedbl: return Key...
by Richard
02 Aug 2019, 12:50
Forum: General Discussion
Replies: 10
Views: 501

Re: KeyDown KeyUp for symbols

you posted code is in Src/Packages/App/XDisplay/Src/XDisplay.cpp
By adding more definitions from X11/keysymdef.h and NsGui/InputEnums.h, it is working.
Thanks
by Richard
01 Aug 2019, 09:49
Forum: General Discussion
Replies: 10
Views: 501

Re: KeyDown KeyUp for symbols

The attachment is the modified login sample show this issue. you can rename it and put into the subdirectory inside the noesisgui sdk and make clean and diff to view the the modification.
by Richard
31 Jul 2019, 14:55
Forum: General Discussion
Replies: 10
Views: 501

Re: KeyDown KeyUp for symbols

The modified Login sample for textbox and passwordbox KeyDown event, the console show the message when key pressed. But non alpha & digital symbols are missing event
https://mega.nz/#!qr4zSCAK!9SEnrLB5i6gi ... ndPLN4Qx4o
by Richard
30 Jul 2019, 18:06
Forum: General Discussion
Replies: 10
Views: 501

Re: KeyDown KeyUp for symbols

It is in Linux 64 bits environment.
by Richard
26 Jul 2019, 05:09
Forum: General Discussion
Replies: 10
Views: 501

KeyDown KeyUp for symbols

xaml:
<TextBox .... KeyUp="OnKeyUp" KeyDown="OnKeyDown">

C++:
void OnKeyDown(BaseComponent *component, const Noesis::KeyEventArgs& e)
{
}

The digital and the alpha key event is called, but the minus and other some symbol key is not called.