> Hi, > > Does anybody know how to set the icon of a Windows app. that uses fltk? > > Thanks, > Robert > >
before you show the window... win->icon((char*)LoadIcon(fl_display, MAKEINTRESOURCE(IDI_MYICON))); of course you need myicon.ico, and add resource files to the project: resource.h: #define IDI_MYICON 101 and foo.rc: #include "resource.h" IDI_MYICON ICON DISCARDABLE "myicon.ico" That's it, Don. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk