> > So i think i should look at the sudoku example you mentioned..
>
> There is also a (short) description in the "OS Issues" chapter of the
> docs.
>
> Albrecht

This is resolved.. a really rather painless too!

After looking at the docs and seeing an implementation in sudoku i have
this:

relevant lines in main()
//..
//..

#define IDI_ICON 101

//..

int main (int argc, char* argv[])
{

    TicketWriter testWheel;

    testWheel.mainWin->icon((char* )LoadIcon(fl_display, 
MAKEINTRESOURCE(IDI_ICON)));

    testWheel.mainWin->show(argc, argv);

//...
//...
return 0;

}

Then in my resource file:

#ifndef RESOURCE_RC_INCLUDED
#define RESOURCE_RC_INCLUDED

icon ICON "./resource/ico/wheel.ico" //this is the icon i use for exe already

101 ICON "./resource/ico/wgnNoletters.ico" //heres the window one!! :->

#endif // RESOURCE_RC_INCLUDED


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to