> > > Is there a way to use this function with a FLTK widget : > > =20 > > http://msdn.microsoft.com/en-us/library/ms648064(VS.85,printer).aspx > > That's the win32 DrawIcon method? > I guess you can use that, it is possible to get suitable values for all > the parameters that it needs. > > But, what are you trying to achieve? > > There is probably a better, more portable, way to do that, since that > method will obviously only work on win32 platforms. > Fltk already has ways of displaying various images on widgets, so using > a win32 specific method seems like a backwards step...
It's not a problem since it's a Win32 specific application. In fact, it's because I must display an Icon getting from the function : GetClassLong( hWnd , GCL_HICONSM ); ( http://msdn.microsoft.com/en-us/library/ms633580(VS.85,printer).aspx ) This function return an handle to a win2 icon... _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

