Re: [gimpwin-users] try to compile testgtk.c ..gcc cant' find con fig.h

calmar <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Hi Tor,

>Tor Lillqvist wrote:

The only way to set the Windows icon for a GTK+-using application's

windows is to add one in the .exe file's resources. See

gdkwindow-win32.c:RegisterGdkClass(). When a new window class is

created, the window class's icon is set to the first icon found in the

.exe file's resources, and if there is no icon there, the first (only)

icon found in the GDK DLL's resources.

After making the .res file

windres myapp.rc -O coff -o myapp.res

and linking with:

gcc -mwindows myapp.o myapp.res -o myapp.exe
(according to: http://www.cygwin.com/cygwin-ug-net/windres.html

it worked fine!

ty very much

calmar

.

To Post a message, send it to: [email protected]

To Unsubscribe, send a blank message to: [email protected]

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.