🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1864

How to be sure a window has been repainted

#1864
From: Wookie
Date: Mon, 28 May 2007 18:02
13 lines
1307 bytes
Hi all,

I am working inside a thread that drives a LCD screen and a camera. I
have to synchronize the display on the LCD and the camera acquisition. I
would like to know if there is any window message that is sent when a
window has been repainted (a sort of WM_ENDPAINT). I do call the Repaint
method of TWinControl but most of the time, the camera acquires a mix of
the previous frame and the new one. How can I be sure the LCD has been
fully repainted ?

Many thanks in advance.

Christophe
Technical Details
Message-ID: <465B192D.18A0FD94@skynet.be>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1db88f519055e05b,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <465B192D.18A0FD94@skynet.be>
Date: Mon, 28 May 2007 20:02:21 +0200
From: Wookie <fa067235@skynet.be>
X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to be sure a window has been repainted
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.242.243.209
X-Trace: newsgroups.borland.com 1180375439 81.242.243.209 (28 May 2007 11:03:59 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail