 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Michele Santucci Guest
|
Posted: Fri Oct 22, 2004 7:37 am Post subject: GIS ActiveX management |
|
|
Hello NG,
I imported an activex control (ESRI MO 2.3) 'creating' a TMap component.
This component have a AfterTrackingLayerDraw event whose handler is defined
in this way:
AfterTrackingLayerDraw(TObject *Sender,
OLE_HANDLE hDC)
{
....
}
Since I need to draw polygons and lines over this component I asked ESRI
hints about that and they stated that it's possible using the hDC handle by
Windows API calls... which APIs are they meaning? Which functions/methods I
have to use?
Which chapter of the Borland C++ User Manual describe that?
--
Michele Santucci
===================
Celin Avio S.r.l.
Software Dev. Manager
--------------------------------------
tel. 0187564080
Via Fontevivo 21/M
19126 La Spezia
===================
|
|
| Back to top |
|
 |
Allan Hansen Guest
|
Posted: Thu Oct 28, 2004 6:47 am Post subject: Re: GIS ActiveX management |
|
|
Have a look at TCanvas::Handle, assigning the hDC to it should enable you to
use TCanvas' methods for drawing.
Allan
"Michele Santucci" <michele.santucci (AT) celinavio (DOT) it> wrote
| Quote: | Hello NG,
I imported an activex control (ESRI MO 2.3) 'creating' a TMap component.
This component have a AfterTrackingLayerDraw event whose handler is
defined
in this way:
AfterTrackingLayerDraw(TObject *Sender,
OLE_HANDLE hDC)
{
....
}
Since I need to draw polygons and lines over this component I asked ESRI
hints about that and they stated that it's possible using the hDC handle
by
Windows API calls... which APIs are they meaning? Which functions/methods
I
have to use?
Which chapter of the Borland C++ User Manual describe that?
--
Michele Santucci
===================
Celin Avio S.r.l.
Software Dev. Manager
--------------------------------------
tel. 0187564080
Via Fontevivo 21/M
19126 La Spezia
===================
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|