Files |  Tutorials |  Articles |  Links |  Home |  Team |  Forum |  Wiki |  Impressum

Aktuelle Zeit: So Jul 20, 2025 05:13

Foren-Übersicht » English » English Programming Forum
Unbeantwortete Themen | Aktive Themen



Ein neues Thema erstellen Auf das Thema antworten  [ 7 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: 3D model outside form/frame
BeitragVerfasst: Mi Feb 11, 2004 14:50 
Is it possible to display an 3D model outside (above) your Delphi form? Just like the MS agent plugin.

Thnx a lot!


Nach oben
  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Feb 11, 2004 15:01 
Offline
DGL Member
Benutzeravatar

Registriert: Sa Jan 04, 2003 21:23
Beiträge: 674
Wohnort: Köln
i think such pictures only seem to be outside, but actually they're in a separate form wich is transparent where the figure isn't displayed...
but i dont know how to manage this with a opengl-form :?

_________________
. . .


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Feb 11, 2004 15:03 
Offline
DGL Member
Benutzeravatar

Registriert: Do Dez 05, 2002 10:35
Beiträge: 4234
Wohnort: Dortmund
Yes. With Delphi 6 and above every Form has two properties named "TransparentColor" and "TransparentColorValue". When you use the both properties and an Form with BorderStyle bsNone you can easily create an transparent window. You can combine it with OpenGL (i have try it ;-) ). But it is terrible slow. Normally you should use the GDI.


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Feb 12, 2004 23:16 
Lossy eX hat geschrieben:
Yes. With Delphi 6 and above every Form has two properties named "TransparentColor" and "TransparentColorValue". When you use the both properties and an Form with BorderStyle bsNone you can easily create an transparent window. You can combine it with OpenGL (i have try it ;-) ). But it is terrible slow. Normally you should use the GDI.


Thnx for your tip, but in the case you are describing, the background might be indeed transparent, but what about the events? When clicked on the transparent part of the window, does the window get the events or are they not captured bij the window, but go trough to windows below your invisible delphi form?

Does anybody have experience with window clipping?


Nach oben
  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Fr Feb 13, 2004 14:24 
Offline
DGL Member
Benutzeravatar

Registriert: Mo Sep 23, 2002 19:27
Beiträge: 5812
Programmiersprache: C++
Transparent parts of a window are usually created using Regions, and if you define them via regions, then yes, windows will handle clicks to transparent regions as if there was no window under that position.
So if you have a transparent rect in your window and an icon on the desktop is visible through that hole, then clicking on that icon would work without further intervention from your side.

_________________
www.SaschaWillems.de | GitHub | Twitter | GPU Datenbanken (Vulkan, GL, GLES)


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Fr Feb 13, 2004 14:54 
Offline
DGL Member
Benutzeravatar

Registriert: Do Dez 05, 2002 10:35
Beiträge: 4234
Wohnort: Dortmund
I have seen that the property TranparentColor is using the function SetLayeredWindowAttributes (WIN-API). This function need at minimum windows 2000. If you want to use your Programm below then you should use regions.


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Feb 18, 2004 14:45 
Thnx for your reactions. Is this window transparancy also available in an ActiveX form? Couldn't find it in the properties explorer.


Nach oben
  
Mit Zitat antworten  
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 7 Beiträge ] 
Foren-Übersicht » English » English Programming Forum


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
  Powered by phpBB® Forum Software © phpBB Group
Deutsche Übersetzung durch phpBB.de
[ Time : 0.007s | 15 Queries | GZIP : On ]