🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.graphics.api.opengl
2 messages
2 total messages Started by Siping Zhang Wed, 03 Feb 1999 00:00
HWND - OPENGL problem
#99
Author: 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>
Re: HWND - OPENGL problem
#100
Author: L.J. Wischik
Date: Wed, 03 Feb 1999 00:00
12 lines
1238 bytes
Siping Zhang <NOSPAM.szhn@lvd.be> wrote:
>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.

Were you also told CS_OWNDC when you RegisterClass it? That's the most
important one.

-- 
Lucian Wischik, Queens' College, Cambridge CB3 9ET. www.wischik.com/lu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads