PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV (earlier versions)
→
Fonction DnDEvénement ne fonctionne pas en exécutable
Fonction DnDEvénement ne fonctionne pas en exécutable
Started by Maxime Robert, Jan., 11 2021 3:22 PM - No answer
Connect yourself…
Maxime Robert
#1
Posted on January, 11 2021 - 3:22 PM
Bonjour,
Je suis en version 22 et nous avons une application qui utilise la fonction DnDEvénement pour faire un glisser déposer de courriel Outlook. Ça fonctionnait bien mais depuis que nous somme à distance, on doit retravailler. Mais voilà que ça ne fonctionne plus lorsque je fait un exécutable. Ça fonctionne pourtant bien en test. J'ai presque tout tenté mais une fois que je créé l'exécutable, aucun des deux évènements que j'ai demandé ne fonctionne.
(Invoquer la DLL ole32, mettre le code en fin d'intialisation de la fenêtre, même distancier les DnDEvénement de la déclaration au DndCible = dndProgrammé).
Voici mon code:
ChargeDLL("ole32")
API("ole32","CoInitializeEx",0,2)
IMG_DnD..DndCible = dndProgrammé
DnDEvénement("DnDSurvolCible", IMG_DnD, dndSurvol)
DnDEvénement("DnDLacherCible", IMG_DnD, dndLâcher)
PROCEDURE DnDSurvolCible()
DnDCurseur(dndCopier)
PROCEDURE DnDLacherCible()
Info("Succès")
Merci pour votre aide.
Report
0
0
→ Go back to WINDEV (earlier versions)
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text