From: "Tom Novelli" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allergo: How can refresh only bitmap on screen in GUI? Date: 13 Jun 1997 16:35:01 GMT Organization: Spectra.Net (607) 798-7300 Lines: 19 Message-ID: <01bc7817$acd432e0$e282b1cc@tcn.spectra.net> References: <01bc76cc$12136c40$2f297dc2 AT qwerty> NNTP-Posting-Host: pm226.spectra.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk ADJ wrote in article <01bc76cc$12136c40$2f297dc2 AT qwerty>... > How can I refresh ONLY bitmap in allegro in GUI. I dont want to refresh all > screen. I want to refresh only one BITMAP. thats all. You need to send a Redraw message to the bitmap item in the dialog. For example: #define DIALOG_BITMAP 3 // (Position of the bitmap in your dialog struct) SEND_MESSAGE(your_dialog+DIALOG_BITMAP, MSG_DRAW, 0); Hope that helps. -- Tom Novelli - http://www.spectra.net/~tcn