On Aug 27, 2007, at 8:35 AM, Manoj wrote:

> 1. Fl_Output is used to display some output. But the default shape  
> of cursor inside this is not a straight line. It's like ^.
> How to change this to straight line.

The ^ cursor indicates that the user can select the output, but can  
not edit it. The I cursor is reserverved for fields that can be edited.

The cursor is drawn toward the end of Fl_Input_::drawtext and is hard- 
coded. You can override the Fl_Output::draw() function to replace the  
cursor.

> 2. If i have some controls (FL_Input, FL_Output etc) and when i  
> move the left or right arraw key( ->  or <- ) then cursor goes to  
> each control. It's not fit inside one control. I mean if i'm moving  
> the cursor by arrow in FL_Input control then it should not go out  
> of this.

There is some setting that you change at compile time of FLTK if you  
don't like this. I can't remember what it is though. Anyone?

> 3. Fl_Choice menu has no scroll bar to fit all the items in some  
> limited area. If i add more than 100 items in Fl_Choice and i try  
> to select open Fl_Choice then all items display on full desktop  
> window and some of them are outside the range of desktop window.

That again is intentional. There is no reason to not use the full  
height of the screen to offer a choice. I have seen too many Choice  
widgets on MS Windows that offer only five choices, for some reason  
display merely four of them and then make me scroll the list.  
Ridiculous! FLTK uses the full screen height, and if the list is  
still too big, moving the mouse pointer close to the end of the list  
will scroll the contents up or down for you.

> 4. If i create a modeless dialog then i dont find system menu 
> (minimum,maximum and cross) on this dialog when it displays.

You can create normal windows, non-modal windows, and modal windows.  
Depending on the operating system that you run, FLTK will show or not  
show the system window icons. Normal windows always have them (unless  
they are borderless), and modal windows never have them. With non- 
modals (usually floating toolboxes) it depends on you OS.

> Also please tell how to enable/disable the system menus 
> (maximize,minimize,cross) on this dialog.

There is no extra function to do that. See section above.

----
http://robowerk.com/


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

Reply via email to