Hi,
I am almost running an old DOS-based application using wineconsole, but I am constantly being bombarded by FIXME messages from the DOSVM's Int33 calls for "Show mouse cursor" and "Hide mouse cursor".
I have tracked the relevant code down to dlls/winedos/int33.c, but don't know how the DOSVM displays the mouse cursor. There must be a link somewhere between the coordinates in the mouse_info structure and the X11 display. Can anyone help me out here, please?
Thanks, Chris
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Chris Rankin a écrit :
Hi,
I am almost running an old DOS-based application using wineconsole, but I am constantly being bombarded by FIXME messages from the DOSVM's Int33 calls for "Show mouse cursor" and "Hide mouse cursor".
I have tracked the relevant code down to dlls/winedos/int33.c, but don't know how the DOSVM displays the mouse cursor. There must be a link somewhere between the coordinates in the mouse_info structure and the X11 display. Can anyone help me out here, please?
SetConsoleCursorInfo would do (if you're running the program under wineconsole). A+
--- Eric Pouech pouech-eric@wanadoo.fr wrote:
SetConsoleCursorInfo would do (if you're running the program under wineconsole).
/****************************************************************************** * GetConsoleWindow [KERNEL32.@] */ HWND WINAPI GetConsoleWindow(VOID) { FIXME("stub\n"); return NULL; }
It looks like I'll need to implement this stub first. (I think...) Does anyone have any suggestions, please?
Thanks, Chris
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Chris Rankin a écrit :
--- Eric Pouech pouech-eric@wanadoo.fr wrote: HWND WINAPI GetConsoleWindow(VOID) { FIXME("stub\n"); return NULL; }
no this returns the handle to the window (in USER32) which contains the console. WHat you need is a handle to the console itself (in fact its current output buffer). Check out the content of vga.c (in dlls/winedos), you have most of the code you need. However, int33 mouse hide/show should cooperate with the vga layer.
A+
Check out the content of vga.c (in dlls/winedos), you have most of the code you need. However, int33 mouse hide/show should cooperate with the vga layer.
OK, here's a first draft at a patch. Created with reference to my old copies of Ralph Brown's Interrupt List.
Cheers, Chris
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com