Bonjour, on a :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
lstartUpInfo.cb := SizeOf(lstartUpInfo);
  lstartUpInfo.dwX := left; lstartUpInfo.dwY := top;    lstartUpInfo.dwXSize:=Width;lstartUpInfo.dwYSize:=Height;
  lstartUpInfo.dwFlags := STARTF_USESIZE;
  CreateProcess(nil,PChar(Fchainage),nil,nil,false,NORMAL_PRIORITY_CLASS,nil,nil,lstartUpInfo,lprocessInfo);
avec STARTF_USESIZE, on passe la taille
avec STARTF_USEPOSITION, on passe la position

mais comment passer les 2, la position de la fenêtre ET la taille.

Merci