I played with NativeBoost and the Windows API again this evening with the result to be able to open a native Win32 console window, influence title and colors and write to it from Pharo. This can be useful for coral and stdout support on Windows too. Attached is a screenshot. Cleaned up code will follow soon. Thx T.
nice :) On 2013-09-02, at 18:34, "Torsten Bergmann" <astares@gmx.de> wrote:
I played with NativeBoost and the Windows API again this evening with the result to be able to open a native Win32 console window, influence title and colors and write to it from Pharo. This can be useful for coral and stdout support on Windows too.
Attached is a screenshot.
Cleaned up code will follow soon.
Thx T. <winconsole.png>
is very nice :) but... a bit of criticism (and probably ignorant criticism :P) why those methods names? sets, gets. colored, colorgreen... instead pharoish names? Cheers, Esteban On Sep 2, 2013, at 11:34 PM, Torsten Bergmann <astares@gmx.de> wrote:
I played with NativeBoost and the Windows API again this evening with the result to be able to open a native Win32 console window, influence title and colors and write to it from Pharo. This can be useful for coral and stdout support on Windows too.
Attached is a screenshot.
Cleaned up code will follow soon.
Thx T. <winconsole.png>
On 3 September 2013 00:14, Esteban Lorenzano <estebanlm@gmail.com> wrote:
is very nice :)
but... a bit of criticism (and probably ignorant criticism :P)
why those methods names? sets, gets. colored, colorgreen...
instead pharoish names?
I think because most of windows API functions named like that. Which sometimes better, to keep connection with original API.. Not sure about color names though :)
Cheers, Esteban
On Sep 2, 2013, at 11:34 PM, Torsten Bergmann <astares@gmx.de> wrote:
I played with NativeBoost and the Windows API again this evening with the result to be able to open a native Win32 console window, influence title and colors and write to it from Pharo. This can be useful for coral and stdout support on Windows too.
Attached is a screenshot.
Cleaned up code will follow soon.
Thx T. <winconsole.png>
-- Best regards, Igor Stasenko.
Hi. Interesting, what will happen if you run printing lines to console in loop and then stop console scrollbar by mouse? Will image hangs? 2013/9/3 Torsten Bergmann <astares@gmx.de>
I played with NativeBoost and the Windows API again this evening with the result to be able to open a native Win32 console window, influence title and colors and write to it from Pharo. This can be useful for coral and stdout support on Windows too.
Attached is a screenshot.
Cleaned up code will follow soon.
Thx T.
participants (5)
-
Camillo Bruni -
Denis Kudriashov -
Esteban Lorenzano -
Igor Stasenko -
Torsten Bergmann