Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » how to catch CodeEditor keys?
how to catch CodeEditor keys? [message #47894] Wed, 19 April 2017 18:22 Go to previous message
luoganda is currently offline  luoganda
Messages: 193
Registered: November 2016
Experienced Member
default subclassing,eg:
virtual bool Key(dword key,int count){
  return CodeEditor::Key(key,count);
}

doesn't seem to work-it's not called, or am i missing something?
for now i am using some hokus-pokus...

By the way, is there an easy way to convert key characters<65536 into virtualKeyCode,
so that Shift/Ctrl/Alt can be used/known independently - eg, when 2 is pressed to check if Shift was pressed too?
like Ctrl-2 or Shift-2, some kind of translation table or something?

[Updated on: Wed, 19 April 2017 18:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: WithDropChoice has Get,GetCount, but no Set,Remove
Next Topic: How to handle copy & paste with focus changing
Goto Forum:
  


Current Time: Thu Mar 28 10:13:26 CET 2024

Total time taken to generate the page: 0.01051 seconds