Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Implementation?
Message
De
03/04/1998 07:31:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Best Implementation?
Divers
Thread ID:
00089202
Message ID:
00089202
Vues:
73
Hi all.

I am in the process of rewriting a VFP 3.0 app in VFP 5. The VFP 3 app converts an autocad .dwg file (representing the roof top layout of a building) to .bmp format. It then uses DDE to pass the co-ordinates of each indiviual roof area in the .bmp to a Delphi 1.0 program along with some info about the condition of each roof area. The Delphi program then shades each roof area according to its condition:

Form1.Image1.Canvas.Brush.Color := mCol;
Form1.Image1.Canvas.FloodFill(x,y,clWhite,fsSurface);

Now that I am re-writing this app, I am thinking that there may be a better way to do this. I know that I can use VFP to access the win API and use the ExtFloodFill function that way. But is that the best way. The management would also like to have tool tips that contain the name of the roof area that the mouse is over. Is there a way to that via API calls? Or would it be better to use the same Delphi 1.0 routine upgraded to Delphi 3.0? Or maybe write a routine in VC++?

All advice gratefully accepted.

Marcia
Répondre
Fil
Voir

Click here to load this message in the networking platform