![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
![]() |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
|
|
#1
|
||||
|
||||
|
Cita:
__________________
delphi.com.ar Dedique el tiempo suficiente para formular su pregunta si pretende que alguien dedique su tiempo en contestarla.
|
|
#2
|
|||
|
|||
|
Para que te tome toda la pantalla, deberías hacer:
imgEnviar.Height := screen.Width; imgEnviar.Width := screen.Height; De esa manera, vas a tener la imágen de toda la pantalla. Saludos Federico |
|
#3
|
|||
|
|||
|
Te sugiero que la amplies la imagen DESPUES de mandarla por red.
Tambien es mejor si usas directamente el "Bitblt" (Usando el handle que obtienes) para no crear ese Tcanvas por que no estás usando las funciones para graficar lineas, texto, etc. que son enormemente facilitadas por el Tcanvas. |
|
#4
|
||||
|
||||
|
¿Tiene algo que ver el tamaño del TImage del servidor?
__________________
:) |
|
#5
|
||||
|
||||
|
Cita:
![]() Código:
... raised exception class EWriteError with message 'Stream write error".Process stopped ...
__________________
:) |
|
#6
|
||||
|
||||
|
Nadie sabe lo que pasa?
__________________
:) |
|
#7
|
|||
|
|||
|
En lugar de usar el TImage te recomiendo uses TBitmap y luego se lo asignes al imgEnviar..
Código:
procedure TExplorer.Timer1Timer(Sender: TObject); var DeskTop : TBitmap ; begin DeskTop := TBitmap.Create ; try with DeskTop do begin Handle := GetWindowDC (GetDesktopWindow) ; Width := GetDeviceCaps( handle, HORZRES ); Height := GetDeviceCaps( handle, VERTRES ); BitBlt(Canvas.Handle,0,0,Width, Height,handle,0,0,SRCCOPY); imgEnviar.Picture.Bitmap := Desktop; end; finally DeskTop.Free; end end; ![]() |
![]() |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
|