Forum > FV/Textmode IDE
Win10 testuapp.exe mouse support
(1/1)
d-_-b:
Hi
im playing around with fv free vision test unicode app: testuapp.pas
i found the topic Topic: SOLVED Using mouse in FreeVission regarding changing the
properties > options > quick edit mode
to allow freevision to interact with the mouse.
I do wonder how win32 tui applications like mcwin32 can launch correctly without human intervention?
For now i created a shortcut(.lnk) with quick edit mode disabled,
Maybe someone can give insight into how mc don't need such work around?
TRon:
I am making a wild guess here based on the code of mcwin and the readme: mcwin is in nature a Windows application ?
marcov:
The textmode IDE can too, probably you just need an extra windows specific call in startup.
--- Code: Delphi [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---uses windows;....var IdeMode : dword;... // and then after the FV initvideo etc commands:IdeMode:=({IdeMode or }ENABLE_MOUSE_INPUT or ENABLE_WINDOW_INPUT or ENABLE_EXTENDED_FLAGS) and not (ENABLE_PROCESSED_INPUT or ENABLE_LINE_INPUT or ENABLE_ECHO_INPUT or ENABLE_INSERT_MODE or ENABLE_QUICK_EDIT_MODE); SetConsoleMode(GetStdHandle(cardinal(Std_Input_Handle)), IdeMode);
d-_-b:
@Tron it is a TUI/command.exe application, just ported to windows.
@Oliebol thanks SetConsoleMode is what i needed and i even found its usage in the mcwin32 c code.
Navigation
[0] Message Index