MorpionMx
Messages postés3466Date d'inscriptionlundi 16 octobre 2000StatutMembreDernière intervention30 octobre 2008
-
30 janv. 2005 à 13:53
MorpionMx
Messages postés3466Date d'inscriptionlundi 16 octobre 2000StatutMembreDernière intervention30 octobre 2008
-
30 janv. 2005 à 17:00
Bonjour a tous,
J'ai dans un Panel 2 Control persos. Et j'aimerais imprimer ces 2
Control l'un a coté de l'autre, ou alors ce qu'il y a dans le Panel (ce
qui reviendrait au meme).
Quelqu'un sait comment je peut faire pour imprimer le "contenu" d'un
objet Control ? Comment envoyer l'objet Graphics du Control vers
l'imprimante ?
cs_coq
Messages postés6349Date d'inscriptionsamedi 1 juin 2002StatutMembreDernière intervention 2 août 2014101 30 janv. 2005 à 16:26
Arf désolé j'ai oublier lol :
private int WM_PRINT = 0x0317;
private int PRF_CHECKVISIBLE = 0x00000001;
private int PRF_NONCLIENT = 0x00000002;
private int PRF_CLIENT = 0x00000004;
private int PRF_ERASEBKGND = 0x00000008;
private int PRF_CHILDREN = 0x00000010;
private int PRF_OWNED = 0x00000020;
On trouve ces valeurs dans les fichiers .h du PlatformSDK, en l'occurence ici :
"Header: Declared in Winuser.h"