|
|
copy_label() fixed the problem. Thanks! Calling show() in the loop or changing /subsytem:windows in linker options did not work either. Stackexchange tells me CreateProcess() is the only reliable way to stop the console window from starting. But I'm not going that route.
Almost as if microsoft intended this to mess with our minds. Hmm..
I'll try the "
modify the window attributes to make it always on top, but non-modal so it does not prevent events passing to your other windows" method and report back.
On Thursday, October 1, 2020 at 3:37:38 PM UTC+5:30 Albrecht Schlosser wrote:
On 10/1/20 11:52 AM 'MacArthur, Ian' wrote:
> Also, you can tell windows not to throw the CMD window at all for the pipe, though off-hand I can’t remember the magical invocation for that. It's a linker option though, IIRC. might be "-mwindows" with gcc, can't recall what VS uses...
If it's /that/ linker option ("-mwindows") then it's likely
"/subsystem:windows" (as opposed to "/subsystem:console") with MSVC, but
don't rely on the exact syntax.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/490c5eff-7fa8-440e-b9ba-47fc9dd3c898n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |