Hi,
Sorry, but it's not very clear from your email that your code already
works
with Motif. If it does work with Motif then we probably have a lesstif
bug.
Otherwise we may still have a lesstif bug, but without looking at the
offending
code and logic it is not possible to say where the problem is.
So could you please make a small program which shows your problem and
then
email that to us.
CP
"Sharad Kumar Gupta (EHPT)" wrote:
>
> Hi,
>
> 1. version Number: lesstif-0.90.0-1.i386.rpm
> 2. distribution : binary
> 3. system :
> Linux linux.ind.ehpt.com 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999
> i686 unknown
>
> 4. Problem :
> I am creating one simple dialog which has 2 text fields and
> 3 labels with 2 buttons to say OK and Cancel. If i enter
> some wrong info ( its password), the dialog should remain there
> in ideal case, but what's happening is it pops up 2nd window while
> the first is still there. So what's happening is that if the user
> enters wrong password 5 times there are 5 windows displayed which
> obviously is not desirable.
>
> The dialog i am created has his parent set to NULL and is not a
> modal dialog.
>
> I am calling these 2 functions to destroy the dialog :
>
> XtUnmapWidget(JdaWMainTopLevel);
> XtDestroyWidget(JdaWMainTopLevel);
>
> Thanx & Regards
> -sharad