Waldemar Schultz escribió:
Mariano Alvarez Fernandez schrieb:
Waldemar Schultz escribió:
The following program exhibits problems with the window's 'focus' in windows console applications.
Well, it works as expected,
I disagree here. It is just to inform you, I observe the following: After launching grxhello.exe from a W98 DOS box the DOS Box looses focus (title bar becomes gray), the mouse arrow jumps to the top left corner of the screen, (looks like focus went to an invisible window)
Yes, to the GRX one!
Maybe anyone could try this under LINUX to see if it behaves different.
I suspect if not work like you want in X too, but I must to check.
I would really appreciate to have the console simultaneously wit the graphics window switching focus by the application as required.
Well, the problem is for achieve this functionally yo must to hack a lot:
a) investigate if the program is bound to a console or not.
b) find the windows id of the console and try to change the focus when you go to text mode
c) write a input driver for the console mode (and switch from the windows one).
It can be done, but really it needs work.