[vwnc] Dialog Box Improvements

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Dialog Box Improvements

Runar Jordahl
It would be nice if VisualWorks supported resizable modal dialog
boxes. Also, dialog boxes in Windows should have the ability to not
display any icon, and not have an entry on the task bar.

Details on dialog boxes on Windows is found here:
http://msdn.microsoft.com/en-us/library/aa511268.aspx

Kind regards
Runar Jordahl
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Dialog Box Improvements

Paul Baumann

+1 on the resizable modal dialogs. There have been a few occasions where I wanted all the behavior of a dialog--but to be resizable. I'd always found it silly that the window standards years ago defined a dialog by not being resizable. The modal behavior is what people care about when they use a dialog. IBM tended to be involved in the original windows standards but even VisualAge made it easy to create resizable modal dialogs.

Paul Baumann

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Runar Jordahl
Sent: Wednesday, May 13, 2009 4:19 AM
To: [hidden email]
Subject: [vwnc] Dialog Box Improvements

It would be nice if VisualWorks supported resizable modal dialog boxes. Also, dialog boxes in Windows should have the ability to not display any icon, and not have an entry on the task bar.

Details on dialog boxes on Windows is found here:
http://msdn.microsoft.com/en-us/library/aa511268.aspx

Kind regards
Runar Jordahl
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange, Inc. (ICE), its subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Dialog Box Improvements

Terry Raymond
VW dialogs can be made resizeable but they are not really
modal in that they can be obscured and when you try to click
in another window you don't get the "boing". However, with
respect to VW they act dialogs.

I think to do it right requires a VM change.

Terry
 
===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Paul Baumann
Sent: Wednesday, May 13, 2009 2:53 PM
To: 'Runar Jordahl'; [hidden email]
Subject: Re: [vwnc] Dialog Box Improvements


+1 on the resizable modal dialogs. There have been a few occasions where I wanted all the behavior of a dialog--but to
be resizable. I'd always found it silly that the window standards years ago defined a dialog by not being resizable. The
modal behavior is what people care about when they use a dialog. IBM tended to be involved in the original windows
standards but even VisualAge made it easy to create resizable modal dialogs.

Paul Baumann

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Runar Jordahl
Sent: Wednesday, May 13, 2009 4:19 AM
To: [hidden email]
Subject: [vwnc] Dialog Box Improvements

It would be nice if VisualWorks supported resizable modal dialog boxes. Also, dialog boxes in Windows should have the
ability to not display any icon, and not have an entry on the task bar.

Details on dialog boxes on Windows is found here:
http://msdn.microsoft.com/en-us/library/aa511268.aspx

Kind regards
Runar Jordahl
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


This message may contain confidential information and is intended for specific recipients unless explicitly noted
otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify
the sender. This message may not represent the opinion of IntercontinentalExchange, Inc. (ICE), its subsidiaries or
affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient
of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy
or a binding message is desired.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Dialog Box Improvements

Steven Kelly
In reply to this post by Runar Jordahl
Runar Jordahl wrote:
> It would be nice if VisualWorks supported resizable modal dialog
> boxes.

We just add something like the Aragon resizable widget to the bottom
right corner, and users can drag that to resize. The meat of the widget
controller is below.

Steve

(called from #redButtonPressedEvent:)
        | win windowDecorationRectangle bounds box decorationExtent
newBounds |
        win := self view topComponent.
        windowDecorationRectangle := OSSystemSupport concreteClass new
windowDecorationRectangle.
        bounds := win globalOrigin extent: win extent.
        box := bounds expandedBy: windowDecorationRectangle.
        decorationExtent := box extent - bounds extent.
        box := Screen default
                        resizeRectangle: box
                        minimumExtent: win minimumSize +
decorationExtent
                        resizeIncrement: 1@1
                        boundedBy:
                                (box origin extent: win maximumSize +
decorationExtent)
                        whileButton: 0
                        isDown: true.
        newBounds := box insetBy: windowDecorationRectangle.
        win displayBox: newBounds.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc