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 » Global shortcut (Keyboard event) handle
Global shortcut (Keyboard event) handle [message #21467] Thu, 21 May 2009 21:43 Go to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Hello everyone!

I would like to discuss about how can handle global keyboard event.

Here is a little discussion about global shortcut.

What is your opinion and how can be realized more optimized?
Re: Global shortcut (Keyboard event) handle [message #21468 is a reply to message #21467] Thu, 21 May 2009 23:25 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I am not 100% sure what you mean, but as general idea how component should handle keys, at least one possibility, check RichEdit.

Mirek
Re: Global shortcut (Keyboard event) handle [message #21474 is a reply to message #21468] Fri, 22 May 2009 06:28 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

luzr wrote on Fri, 22 May 2009 00:25

I am not 100% sure what you mean, but as general idea how component should handle keys, at least one possibility, check RichEdit.

Mirek


From Global shortcut event handle I mean to handle keyboard event from other program(when my program is runned but is not active - it can be in system tray).
Re: Global shortcut (Keyboard event) handle [message #21477 is a reply to message #21474] Fri, 22 May 2009 10:18 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
tojocky wrote on Fri, 22 May 2009 00:28

luzr wrote on Fri, 22 May 2009 00:25

I am not 100% sure what you mean, but as general idea how component should handle keys, at least one possibility, check RichEdit.

Mirek


From Global shortcut event handle I mean to handle keyboard event from other program(when my program is runned but is not active - it can be in system tray).



I am afraid you will have to go Win32 API for this one.
Re: Global shortcut (Keyboard event) handle [message #21481 is a reply to message #21477] Fri, 22 May 2009 11:14 Go to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

luzr wrote on Fri, 22 May 2009 11:18

tojocky wrote on Fri, 22 May 2009 00:28


From Global shortcut event handle I mean to handle keyboard event from other program(when my program is runned but is not active - it can be in system tray).



I am afraid you will have to go Win32 API for this one.


But for Linux how can I do?

Previous Topic: Popup input Dialog
Next Topic: ASSERT(IsMainThread());
Goto Forum:
  


Current Time: Fri Apr 19 14:54:06 CEST 2024

Total time taken to generate the page: 0.20616 seconds