Path: news.cs.au.dk!news.net.uni-c.dk!howland.erols.net!blackbush.xlink.net!news0.de.colt.net!newsfeed.dpn.de!news-out2.f.gtn.com!news-in1.f.gtn.com!195.206.66.162.MISMATCH!News.Amsterdam.UnisourceCS!news.klaus-datentechnik.de!news From: Bastian Newsgroups: comp.lang.beta Subject: Pixmap under Windows 9x Date: Mon, 24 May 1999 19:39:40 +0200 Organization: Kunde von Klaus Datentechnik GmbH Lines: 41 Message-ID: <37498EDC.4AA267CD@WtAl.dE> NNTP-Posting-Host: line127.kdt.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: de,en Xref: news.cs.au.dk comp.lang.beta:11961 I have problems drawing bitmaps from a file to the screen. To make sure that my implementation does not result any conflicts, the demonstration file does not work either : ORIGIN '~beta/guienv/v1.6/guienv'; INCLUDE '~beta/guienv/v1.6/graphics'; (* This demo is an example showing how read a bitmap from a file, and * using the graphics pattern to draw the bitmap on the screen. *) --- program: descriptor --- guienv (# pm: @pixmap; theWindow: @window (# eventhandler:: (# onAboutToClose:: (# do terminate #) #); obj: @windowItem (# open:: (# do (50,50) -> position; (pm.width,pm.height) -> size #); eventHandler:: (# #) #); open:: (# do (400,400) -> size; obj.open #) #) do 'picture' -> pm.read; theWindow.open #) The picture stored in picture.bmp does not appear on the screen. Why not ? (I am using Beta v4.1 with Visual C++ v4.0 under Windows 98) regards, Bastian