On Sun, 24 Aug 2003 10:04:46 -0400
"Richard Jiang" <[EMAIL PROTECTED]> wrote:


Hi Richard,

> (1) Does RH9 supports system-wide event hook mechanism on Key/Mouse events,
> just like in Windows?

For graphical programs, Redhat Linux uses the X Windows system which
does support key/mouse event hooks.


> (2) Can programs developped for RH9 run on KDE with full features?

Not sure what you are driving at here but RH9 can be configured with 
a complete working KDE environment.  So, yes.


> (3) On RH9, can a program get the "input cursor"(or Caret, as called in
> Windows) position from a text input type widgets?
> (Just like in Windows, there are GetCaretPos()/SetCaretPos(), the positions
> are in pixels)

This depends on the widget set you're programming with. X windows gives
you many choices, most of them have a way to achieve this operation.


> (4) On RH9, can a program call some API to simulate key-down/up events?

Again depending on what tools you are using this is possible.


Richard, these questions are all programming related and are you'll
need to do some reading and experimenting.   One way to get started
is to pick a library and start programming with it.

One of the most prevalent graphical programming libraries around is 
Qt but you might also consider looking at wxWindows which also has a
very active community and mailing list.   Either of those libraries 
will help you write graphical programs that compile for Microsoft 
Windows and Linux with little or no alteration.

Good Luck,
Sean
 
Qt library:   http://www.trolltech.com
wxWindows:    http://www.wxwindows.org


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to