> After changing the window position of my application. I am unable
> to press any button of the application.
> [...]
> Please guide me what could be problem

You should really post a very short, compilable example that shows
the problem. This is because (a) you might see the solution yourself
if you have shorter, simpler code, and (b) it gives us a better chance
of helping you without having to guess, or worse, debug pages of code.

Anyway, from what you have said, are you sure that you have not moved
the buttons outside the boundaries of an enclosing widget?

In the example fluid file below, button1 and button2 are children
of group1, but button2 is located outside group1's boundaries and
therefore does not receive the button press event.

Could this be similar to your problem?

Cheers
D.

# data file for the Fltk User Interface Designer (fluid)
version 1.0109
header_name {.h}
code_name {.cxx}
decl {\#include <cstdio>} {}

Function {make_window()} {open
} {
  Fl_Window {} {open
    xywh {590 469 300 150} type Double visible
  } {
    Fl_Group {} {
      label group2 open
      xywh {150 0 150 150} box UP_BOX align 17
    } {}
    Fl_Group {} {
      label group1 open
      xywh {0 0 150 150} box UP_BOX align 17
    } {
      Fl_Button {} {
        label button1
        callback {printf("button1 click\\n");}
        xywh {25 50 100 20}
      }
      Fl_Button {} {
        label button2
        callback {printf("button2 click\\n");}
        xywh {170 50 100 20}
      }
    }
  }
}

Function {} {open
} {
  code {Fl_Double_Window* win = make_window();
win->show(argc, argv);} {selected
  }
}

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

Reply via email to