Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DocumentProperties anyone?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01010251
Message ID:
01011484
Vues:
21
>No, the third parameters is pointer to PRINTER_INFO_x structure where in that structure lies the pointer to DEVMODE structure.
>
>You see this code from the example at the above link:
>
>pi2->pDevMode = pDevMode
>
Okay, but the point is that VFP doesn't handle pointers very well. I'm still not sure what to put in the third parameter.

>
>It is not SendMessage() though. It's SendMessageTimeout:
>
>SendMessageTimeout(HWND_BROADCAST, WM_DEVMODECHANGE, 0L,
>   (LPARAM)(LPCSTR)pPrinterName, SMTO_NORMAL, 1000, NULL);
>
Hmmm... looks like that 4th parameter is a pointer again. That's what's really causing me problems. Maybe I'm better off sticking to figuring out what's wrong with my DocumentProperties command!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform