![]() |
![]() |
![]() |
![]() |
![]() |
FTP | ![]() |
![]() |
CCD | ![]() |
![]() |
Buscar | ![]() |
![]() |
Trucos | ![]() |
![]() |
Trabajo | ![]() |
![]() |
Foros | ![]() |
|
#1
|
|||
|
|||
Resuelto
Hola amigos, aca les mando el codigo q me funciona, espero q les sirva...
Nicocer.....el q se auto-contesta Código:
Graphics::TBitmap *bmp = new Graphics::TBitmap; TreeView1->Width=TreeView1->Width+500; TreeView1->Height=TreeView1->Height+500; bmp->Width = TreeView1->Width; bmp->Height = TreeView1->Height; bmp->Canvas->Lock(); TreeView1->Perform(WM_PRINT,(int)bmp->Canvas->Handle, PRF_CLIENT ); bmp->SaveToFile("c:/dibujo.bmp"); TreeView1->Width=TreeView1->Width-500; TreeView1->Height=TreeView1->Height-500; bmp->Free(); Última edición por nicocer fecha: 09-11-2004 a las 13:26:25. |
![]() |
Herramientas | Buscar en Tema |
Desplegado | |
|
|
![]() |
|