voici unbout de code void __fastcall TMyTreeView::DrawImgBackground(Graphics::TBitmap * pImg) { file://ici on dessine le bitmap sur le fond this->Canvas->Brush->Style = bsClear;
for(int x=0 ; x < this->Width ; x+=pImg ->Width){
for (int y=0 ; y < this->Height ; y+=pImg ->Height){
this->Canvas->Draw(x,y,pImg);
}
}
}
void __fastcall TMyTreeView::PaintBackground() { apel a PaintBackgroundToTreeView qui apelle DrawImgBackground
file://ser quand on change le fond du Treevew int Result=IsValidPathImg(_FPathImgBackground);
voici unbout de code
void __fastcall TMyTreeView::DrawImgBackground(Graphics::TBitmap * pImg)
{
file://ici on dessine le bitmap sur le fond
this->Canvas->Brush->Style = bsClear;
for(int x=0 ; x < this->Width ; x+=pImg ->Width){
for (int y=0 ; y < this->Height ; y+=pImg ->Height){
this->Canvas->Draw(x,y,pImg);
}
}
}
void __fastcall TMyTreeView::PaintBackground()
{
apel a PaintBackgroundToTreeView qui apelle DrawImgBackground
file://ser quand on change le fond du Treevew
int Result=IsValidPathImg(_FPathImgBackground);
voici unbout de code void __fastcall TMyTreeView::DrawImgBackground(Graphics::TBitmap * pImg) { file://ici on dessine le bitmap sur le fond this->Canvas->Brush->Style = bsClear;
for(int x=0 ; x < this->Width ; x+=pImg ->Width){
for (int y=0 ; y < this->Height ; y+=pImg ->Height){
this->Canvas->Draw(x,y,pImg);
}
}
}
void __fastcall TMyTreeView::PaintBackground() { apel a PaintBackgroundToTreeView qui apelle DrawImgBackground
file://ser quand on change le fond du Treevew int Result=IsValidPathImg(_FPathImgBackground);
ou est l'erreur ? si quelqu'n pouvait m'aider je suis noyé
merci encore _________________ Cordialement, Sarda Olivier -------------------------------
Site Web : http://www.membres.lycos.fr/osarda/
Olivier
je te remercie mais cela a quel endroit je dois faire appel a cette fonction
je suis noye plouf!!!
voici unbout de code void __fastcall TMyTreeView::DrawImgBackground(Graphics::TBitmap * pImg) { file://ici on dessine le bitmap sur le fond this->Canvas->Brush->Style = bsClear;
for(int x=0 ; x < this->Width ; x+=pImg ->Width){
for (int y=0 ; y < this->Height ; y+=pImg ->Height){
this->Canvas->Draw(x,y,pImg);
}
}
} apel a PaintBackgroundToTreeView qui apelle DrawImgBackground
void __fastcall TMyTreeView::PaintBackground() { apel a PaintBackgroundToTreeView qui apelle DrawImgBackground
file://ser quand on change le fond du Treevew int Result=IsValidPathImg(_FPathImgBackground);
je te remercie mais cela
a quel endroit je dois faire appel a cette fonction
je suis noye plouf!!!
voici unbout de code
void __fastcall TMyTreeView::DrawImgBackground(Graphics::TBitmap * pImg)
{
file://ici on dessine le bitmap sur le fond
this->Canvas->Brush->Style = bsClear;
for(int x=0 ; x < this->Width ; x+=pImg ->Width){
for (int y=0 ; y < this->Height ; y+=pImg ->Height){
this->Canvas->Draw(x,y,pImg);
}
}
}
apel a PaintBackgroundToTreeView qui apelle DrawImgBackground
void __fastcall TMyTreeView::PaintBackground()
{
apel a PaintBackgroundToTreeView qui apelle DrawImgBackground
file://ser quand on change le fond du Treevew
int Result=IsValidPathImg(_FPathImgBackground);
je te remercie mais cela a quel endroit je dois faire appel a cette fonction
je suis noye plouf!!!
voici unbout de code void __fastcall TMyTreeView::DrawImgBackground(Graphics::TBitmap * pImg) { file://ici on dessine le bitmap sur le fond this->Canvas->Brush->Style = bsClear;
for(int x=0 ; x < this->Width ; x+=pImg ->Width){
for (int y=0 ; y < this->Height ; y+=pImg ->Height){
this->Canvas->Draw(x,y,pImg);
}
}
} apel a PaintBackgroundToTreeView qui apelle DrawImgBackground
void __fastcall TMyTreeView::PaintBackground() { apel a PaintBackgroundToTreeView qui apelle DrawImgBackground
file://ser quand on change le fond du Treevew int Result=IsValidPathImg(_FPathImgBackground);