> The following code results in an error dialog displaying FLTK's own
> command-line options after displaying my options. I dont' 
> want this dialog
> to pop up. Is there any way to eliminate the fltk 
> command-line options error
> dialog?

Asif - you probably want to read up on Fl::args() options, to see how to
parse your own command line switches and still get them to "play nice"
with the stock fltk command line options.

If you go into the examples/ folder, there's a fairly comprehensive
example that Duncan did, called "howto-parse-args.cxx" that shows how to
go about that.

You can *probably* get away with something simpler and cruder, but just
cloning Duncan's example and extending it would be the best bet...



SELEX Galileo Ltd
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