Re: How can I hide the command line window?

2009-07-19 Thread Lizhao
I have built my program with -mwindows option, indeed the console window disappeared. However new problem emerged. This program wasn't able to run successfully with parameters. Then I used CreateProcess() instead , as a restult, my problem was solved. -- Original -

trauma spliting source into multiple files and applying autotools

2009-07-19 Thread Mick
I am recreating my app that was originally built from gtk+1/Glade v1 with hacked in gtk2 and has turned into a mess. I'm working on Archlinux, GTK 2.16.2, Glade 3.6.7, anjuta 2.26.2.2, autoconf 2.63, automake 1.11. The source I have so far, I'm doing incremental additions, is based on Micah Carra

Re: GTK clipboard on OS X

2009-07-19 Thread Allin Cottrell
On Sun, 19 Jul 2009, Brian J. Tarricone wrote: > On 07/19/2009 05:48 PM, Allin Cottrell wrote: > > > GtkTargetEntry rtf_targets[] = { > > { "application/rtf", 0, TARGET_RTF }, > > { "application/x-rtf", 0, TARGET_RTF }, > > { "text/rtf", 0, TARGET_RTF }, > > { "text/

Re: GTK clipboard on OS X

2009-07-19 Thread Brian J. Tarricone
On 07/19/2009 05:48 PM, Allin Cottrell wrote: GtkTargetEntry rtf_targets[] = { { "application/rtf", 0, TARGET_RTF }, { "application/x-rtf", 0, TARGET_RTF }, { "text/rtf", 0, TARGET_RTF }, { "text/richtext", 0, TARGET_RTF }, { "STRING",0, TARGET

Re: GTK clipboard on OS X

2009-07-19 Thread Allin Cottrell
On Sat, 18 Jul 2009, Olivier Guilyardi wrote: > On 07/18/2009 10:39 PM, Olivier Guilyardi wrote: > > On 07/18/2009 05:01 AM, Allin Cottrell wrote: > >> In some contexts my GTK app offers the user the opportunity to > >> copy chunks of output to the clipboard as RTF. This is primarily > >> intende

Re: How can I hide the command line window?

2009-07-19 Thread Tor Lillqvist
> how I can run this external program in the background with the command line > window hidden. Mark the external executable as a so-called "gui" program. If you build it yourself, use the -mwindows option (if using GNU tools, i.e. MinGW) or /subsystem:windows option (if using MS tools). If you d

How can I hide the command line window?

2009-07-19 Thread Lizhao
Hello, every one Recently,I am writing a GTK+ program on windows platform that will call an external program which is just a command line application with the function g_spawn_command_line_sync() . If I run my program , the command line window flashes. My question is how I can run this ex