🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.api.opengl
Article #99

HWND - OPENGL problem

#99
From: Siping Zhang
Date: Wed, 03 Feb 1999 00:00
25 lines
1617 bytes
Hello, all!

Does somebody have some experience for the issue of the following and 
could kindly tell me some solutions:

Pass a HWND(Handle) of a TForm in Cppbuilder to a DLL generated by MS
Visual C++ 
where it makes all drawing with OpenGL lib. I got a problem as:

During sending drawings to a view generated in MS Visual C++ with the
HWND, in certain 
moment, the DLL lost the connection
with HWND without any error. In fact, I cannot see any changes any
more in the view.
I was told that I had to setup some properties such as
WS_CLIPCHILDREN, 
WS_CLIPSIBLINGS etc., in short, I must properly setup OPENGL for the
HWND. But I have looked into the style of the form(by debug), its
default style already contains all those style.

Thank you in advances!

Siping

<szhn at lvd.be>
Technical Details
Message-ID: <36b815a4.76202253@news.eunet.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 101278,e1eab87ffa41a160,start
X-Google-Attributes: gid101278,public
X-Google-Thread: f65bb,e1eab87ffa41a160,start
X-Google-Attributes: gidf65bb,public
X-Google-Thread: 104d65,e1eab87ffa41a160,start
X-Google-Attributes: gid104d65,public
X-Google-Thread: 10a296,e1eab87ffa41a160,start
X-Google-Attributes: gid10a296,public
From: NOSPAM.szhn@lvd.be (Siping Zhang)
Subject: HWND - OPENGL problem
Date: 1999/02/03
Message-ID: <36b815a4.76202253@news.eunet.be>
X-Deja-AN: 440122155
Content-Transfer-Encoding: 7bit
Organization: LVD Company n.v.
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: comp.graphics.api.opengl,comp.os.ms-windows.programmer.graphics,microsoft.public.vc.mfc,borland.public.delphi.graphics