Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!swrinde!gatech!news.mathworks.com!uunet!in1.uu.net!news.nyc.pipeline.com!psinntp!bbnews!rsvl_ns!ernie!ernie.rsvl.unisys.com!jle1
From: jle1@rsvl.unisys.com (Joey Erickson)
Subject: Graphic problem and Smalltalk support
Summary: need ideas about a graphics bug
Sender: news@rsvl.unisys.com (News Admin)
Message-ID: <jle1.11.00A5C436@rsvl.unisys.com>
Date: Fri, 28 Apr 1995 11:00:24 GMT
Lines: 35
Nntp-Posting-Host: jle1
Organization: Unisys Corporation
X-Newsreader: Trumpet for Windows [Version 1.0 Rev B]
Keywords: graphic support

One question and one request for help:

Question: I have ST/V 2.0 (for Windows). It has a 
copyright date of 1992. Because of the below problem
(which I am attributing to the product), I was wondering
does DigiTalk have any patches or fixes for this level available
anywhere? I have an educational version so am not eligible for
direct support. If you know of a FTP site (etc.), please let me
know here or via private e-mail. Thanx!

Help:

Problem: This problem only occurs when executing as a 
stand alone app yet works just fine in development mode:
I have a 16 color bitmap in a static grapic pane on 
my main, topmost window (created via WindowsBuilder Pro). If I 
supply it a source name (cpContents: any.bmp) and setup 
NotificationManager's startUpApp: as this window (AppView new open)
it fails. I narrowed it down to the openWindow method in 
ViewManager: I receive a runtime error that 'do:' is not 
understood. (It is going through the OrderedCollection of views 
and opening each one.) Using the same bitmap on other windows
opened from the main window, there is no problem. It only occurs
for the main window. I can work around it by having a menu item 
that forces the pane to update itself with 'any.bmp' and that works
(kind of - must minimize the window and then restore it before the
bmp actually appears...). anyone else run into this? As stated above,
it APPEARS to be a bug with Smalltalk (development mode vs. runtime 
mode). Any help or other ideas would be appreciated. 

Thanx in advance!

-Joey


