How to create "unmovable windows"?

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

How to create "unmovable windows"?

Postby AHodges » Thu Jan 10, 2008 4:37 pm

Hi,
We use Smalltalk to build embedded applications for medical intruments. Our human factors exports would like pop-up windows that cannot be moved. By this I mean, I need to find a way so that one cannot select the title bar and drag the window around. Does anyone know how I might be able to create such "unmovable" windows? I need to implement this on both OS/2 and Windows.
Thanks much,
Andy Hodges
andy.hodges@medtronic.com
AHodges
 
Posts: 10
Joined: Tue Nov 14, 2006 9:46 am
Location: Minneapolis, MN

Re: How to create "unmovable windows"?

Postby marten » Fri Jan 11, 2008 12:30 am

Perhaps you may look at something like

Code: Select all
(CwWMShell focusShell
      createDialogShell: 'Perhaps this is ok for you ?' 
      argBlock: [ :w |
         w
            height: 300;
            width: 200;
            mwmDecorations:  0 "( or to get it differnet: MWMDECORTITLE)"
         ])
            centerOnScreen ;
            popup
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: How to create "unmovable windows"?

Postby AHodges » Fri Jan 11, 2008 6:41 pm

Excellent! That's just the info I was looking for.
Thanks, Marten, much appreciated. You have made my Human Factors people very happy.
- Andy
AHodges
 
Posts: 10
Joined: Tue Nov 14, 2006 9:46 am
Location: Minneapolis, MN


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest