> I am programming a small application with fltk and I need to 
> open a file when the help button is clicked, as in all the 
> programs in the world, but I don't know which code must I put 
> to open a file.

What format is your help file in? If it's fairly simple html, then the
Fl_Help_Dilaog class is probably what you want - see the help.cxx
example in the test directory.

For more complex html, use fl_open_uri(...) to show your help file in
the regular system browser. This may also work with, for example, PDF
files on many systems. It might even work for .chm files, at least on
Windows...

For other help file formats, you're going to have to give us a bit more
of a clue...





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