PushButton gadgets are currently missing something. If you can use widgets in
your menu the problem will probably go away. You mention a menu, and a radio
box, so you are most certainly using rowcolumn widgets.
Also if you <Btn1Down> drag to your choice, then <Btn1Up>, instead of
<Btn1Click>, then <Btn1Click> on your choice, you probably won't see it either.
On 12-Jun-00 at 18:44, Manuel Jimenez Romero ([EMAIL PROTECTED]) wrote:
> I installed the current version of Lesstif. Before that, I had version 88.
> Now, I am getting the following warning message when I ran my application
> (I did not had this warning on the old version):
>
> Warning:
> Name: MySubmenuOption
> Class: XmRowColumn
> Can't grab the keyboard
>
> and the same one but with pointer instead of keyboard.
>
> The code is big, so I will try to explain the situation:
>
> The submenu option creates a shell (myShell). The shell is the parent of a
> bulletin board who is the parent of a PromptDialog (myDialog).
> myDialog has a radio box. What I intend to do is to wait until a radio
> button and a button (OK, CANCEL, etc) is pressed. I do that using a while
> instruction: while (selectedButton==NO_SELECTION_YET ||
> XtAppPending(context) {
> display = XtDisplay(parent);
> window = XtWindow(parent);
> HandleEvent(context, display, window, atomName);
> }
>
> I would like to get rid of the warning message. I do not use any rowcolumn
> widget.
> Thanks for your help.
>
>