Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!asuvax!ncar!csn!boulder!news From: ali@cs.Colorado.EDU (Ali Bahrami) Newsgroups: comp.windows.x.motif Subject: Two widget questions Message-ID: <1991Apr1.170212.25285@colorado.edu> Date: 1 Apr 91 17:02:12 GMT Sender: news@colorado.edu (The Daily Planet) Organization: University of Colorado, Boulder, Department of Computer Science Lines: 26 Originator: ali@moet.colorado.edu Nntp-Posting-Host: moet.colorado.edu I have a couple of questions that perhaps someone here can help me with: 1) When using editable text widgets, mwm and the top level shell widget somehow conspire to give the text widget the input focus. This doesn't happen when using other window managers (dxwm and olwm are the ones I'm most concerned with). Is there a way to work around this so that my Motif application can coexist with other window managers? 2) Given a scrolled window implemented as a xmScrolledWindow widget with the XmNscrollingPolicy set to XmCONSTANT --- is there a way to change the portion of the work area that is currently visible under program control? I want to be able to have my application alter the currently visible part of the work area based on input from other widgets. If you mail me responses, I will summarize. Thank you... ----------------------------------------------------------------------------- Ali Bahrami | (303) 786-9900 voice Research Systems, Inc. | (303) 786-9909 fax 777 29th St., Suite 302 | ali@boulder.colorado.edu internet Boulder, CO 80303 | ali@cololasp bitnet | ORION::ALI span -----------------------------------------------------------------------------