<div>BTW, the dialog window I've to check does not belong to my application. My software queries the window on the screen and have to find out if a window is disabled or not. One of the cases where a window can be disabled is when a modal dialog is open. I'm looking for any properties or conditions which differentiate the transient windows as modal or modeless.</div> <div> </div> <div>Thanks,</div> <div>Suma.<BR><BR><B><I>Suma Byrappa <suma_byrappa@yahoo.co.in></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <DIV>Hi All,</DIV> <DIV> </DIV> <DIV>I need to fnd out if a dialog (or window) is modal or modeless using Xlib APIs. What can I use to differentiate between modal and modeless? </DIV> <DIV> </DIV> <DIV>I found few topics which mention about override_redirect and WM_TRANSIENT_FOR properties. But, when I read the properties of dialog windows, they don't match with the
usage of override_redirect.</DIV> <DIV> </DIV> <DIV>Any help is greatly appreciated.</DIV> <DIV> </DIV> <DIV>Thanks,</DIV> <DIV>Suma.</DIV> <DIV> </DIV> <div> <HR SIZE=1> </HR>Find out what India is talking about on - <A href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers India</A> <BR>Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <A href="http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com">Get it NOW</A>_______________________________________________<BR>xorg mailing list<BR>xorg@lists.freedesktop.org<BR>http://lists.freedesktop.org/mailman/listinfo/xorg</BLOCKQUOTE><BR><p>
<hr size=1></hr>
Find out what India is talking about on - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers India</a> <BR>
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <a href="http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com">Get it NOW</a>