> Well, but how can I get a hwnd to my fltk-window? Because I 
> want to tell the dialog box that my window is its owner.
> I can``t find a useful method at the fltk/win32.h. Any idea?

You could read the docs... win32.html says:

"HWND fltk::xid(const fltk::Window*)

Returns the window handle for a fltk::Window, or zero if not shown().
"

Which is what you want I think. Still, I think you would probably be
better off just porting Greg's fl_native_file_chooser code from fltk-1.
Greg says it works for fltk-2 with only trivial mods, so that's likely
your best bet.


SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to