![]() |
CPicture -> Delphi?
Hallo
kennt jemand einen Ersatz für diese C-Klasse:
Code:
Der COleDispatchDriver ist in afxdisp.h deklariert.
class CPicture : public COleDispatchDriver
{ public:CPicture() {} // Calls COleDispatchDriver default constructor CPicture(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} CPicture(const CPicture& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} // Attributes public: long GetHandle(); long GetHPal(); void SetHPal(long); short GetType(); long GetWidth(); long GetHeight(); // Operations public: // method 'Render' not emitted because of invalid return type or parameter type }; Benötigt wird das ganze für eine Delphiumsetzung von einem ![]() Viele Grüße Alter Mann [edit=mkinzler]Code-Tag durch c-Tag ersetzt Mfg, mkinzler[/edit] |
Re: CPicture -> Delphi?
Zitat:
|
Re: CPicture -> Delphi?
Liste der Anhänge anzeigen (Anzahl: 1)
Hi,
rein Teoretisch ja. In einem speziellen Fall soll eine Gallerieansicht entwickelt werden. Zur Erstellung der Thumbnails mit den OCX-Control gibt es eine Demo 'drawpage' und die verwendet dieses CPicture. Alle anderen Möglichkeiten wie Zwischenablage, Screenshot usw. funktionieren leider nicht, warum auch immer. Da das OCX-Control für die Entwicklung frei ist, habe ich die Demo mal angehängt. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:17 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz