Does the C++ COM Object do painting properly normally ???Not sure what you mean by this, but the COM object is using DirectX internally and just uses the HWND as a mechanism to draw into the panel. Windows is getting time to process messages as other controls on the form are responsive.
have you looked at LockWindowUpdate ?
No. Good point. I will.....
Are you passing the Window Handle for the Form or the Panel ?For the panel.....
At 08:18 01/11/2001 +1200, you wrote:
Does the C++ COM Object do painting properly normally ???
have you looked at LockWindowUpdate ?
Are you passing the Window Handle for the Form or the Panel ?
Regards
Paul McKenzie
=========================
Paul McKenzie
Jetbet II Developer
=========================
[EMAIL PROTECTED]
Ph: (04) 576-6822
T.A.B. National Office
106-110 Jackson Street
Petone
New Zealand
____________________Reply Separator____________________
Subject: [DUG]: Painting to HWND....
Author: [EMAIL PROTECTED]
Date: 31/10/2001 16:23
G'Day,
We are developing a Delphi Front End to a C++ COM object. The COM object
needs a HWND to draw some output. As an initial test we are using a TPanel
for this. However the TPanel flickets badly as it tries to repaint itself.
So the question is: What control needs to be used that has a HWND but that
does not flicker withing the Delphi App. As a side issue - The mouse is
also not visible over the TPanel.....
-- Donovan
----------------------------------------------------------------------
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems [www.namsys.com.au]
Voice: +61 2 6285-3460
Fax: +61 2 6285-3459
TVisualBasic = Class(None);
Oh...."
----------------------------------------------------------------------
GXExplorer [http://www.gxexplorer.org] Freeware Windows Explorer
replacement. Also includes freeware delphi windows explorer components.
----------------------------------------------------------------------(See
attached file: att1.htm)
(See attached file: att2.eml)
----------------------------------------------------------------------
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems [www.namsys.com.au]
Voice: +61 2 6285-3460
Fax: +61 2 6285-3459
TVisualBasic = Class(None);
Heard just before the 'Big Bang': "...Uh Oh...."
----------------------------------------------------------------------
GXExplorer [http://www.gxexplorer.org] Freeware Windows Explorer
replacement. Also includes freeware delphi windows explorer components.
----------------------------------------------------------------------