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
by marten » Wed Feb 28, 2007 11:15 am
How can this be done under Windows ?
-
marten
- [|]
-
- Posts: 641
- Joined: Sat Oct 14, 2006 7:10 am
- Location: Hamburg - Germany
-
by nmongeau » Wed Feb 28, 2007 11:39 am
Here's a brief sample:
| noCaption |
noCaption := CwDesktopDialog for: nil.
"This removes the caption and changes the text"
noCaption
mwmDecorations: (noCaption mwmDecorations bitXor: MWMDECORTITLE) ;
messageString: 'I have no title bar...' ;
open.
Note that this opens a modal dialog, you'll have to invoke the debugger to break out of its dialog loop.
Normand
-
nmongeau
- [|]
-
- Posts: 29
- Joined: Fri Jan 12, 2007 9:37 am
by marten » Wed Feb 28, 2007 10:31 pm
nmongeau wrote:Here's a brief sample:
| noCaption |
noCaption := CwDesktopDialog for: nil.
"This removes the caption and changes the text"
noCaption
mwmDecorations: (noCaption mwmDecorations bitXor: MWMDECORTITLE) ;
messageString: 'I have no title bar...' ;
open.
Note that this opens a modal dialog, you'll have to invoke the debugger to break out of its dialog loop.
Normand
Where is this class defined "CwDesktopDialog" ???
Marten
-
marten
- [|]
-
- Posts: 641
- Joined: Sat Oct 14, 2006 7:10 am
- Location: Hamburg - Germany
-
by nmongeau » Thu Mar 01, 2007 4:08 am
Oh sorry, that's a home-made class. But the principle is valid and works for any shell at the CommonWidget level.
Normand
-
nmongeau
- [|]
-
- Posts: 29
- Joined: Fri Jan 12, 2007 9:37 am
Return to VA Smalltalk 7.0, 7.5 & 8.0
Who is online
Users browsing this forum: No registered users and 1 guest