Autor Beitrag
Progger
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 35

WinServer 2003
D7 Enterprise
BeitragVerfasst: Mi 06.07.05 17:44 
hab ein problem mit den bitmap's
--> immer, wenn ich die form minimiere ODER ich ein anderes fenster über einen bitmap-teil der form lagere, verschwindet der (also wird grau gezeichnet)
das selbe kommt dabei heraus,wenn ich in der form hin und her scrolle...gibs da irgendwelche alternativen (klar gibts welche)...danke schon ma

_________________
Was nicht kurz ist, ist eben lang und was nicht lang ist, ist eben kurz...
...So ist das Leben
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mi 06.07.05 17:48 
worauf zeichnest du denn die bitmaps ?
hallo
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 450

WIN XP, SuSE 9.3
D3 Prof, D6 Pers, 2005 Pers
BeitragVerfasst: Mi 06.07.05 17:56 
Am besten du nimmst ein Paintbox oder ein TImage her, da düfte das nicht so sein!
Bei Canvas kannst du das aber soviel ich weiß nicht richtig verhindern ohne das ganze neu zu zeichnen!!!

_________________
Der beste je Programmierte Trojaner: Windows XP
Wäre es nicht adequat, den Usus heterogener Termini zu minimieren?
Progger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 35

WinServer 2003
D7 Enterprise
BeitragVerfasst: Mi 06.07.05 17:59 
auf TImage...allerdings mag das ja VIELLEICHT ein geringeres problem zu sein als das ich richtig habe ??

_________________
Was nicht kurz ist, ist eben lang und was nicht lang ist, ist eben kurz...
...So ist das Leben
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mi 06.07.05 18:02 
wenn duein timage verwendest, sollte das nicht sein, das aktualisieert sich selber, wenn es notwendig ist. Bei einer Paintbox/Canvas der From gibt es das onpaint ereignis, das zum neuzeichnen verwendet wird.
ansonsten zeig mal etwas relevanten code.

Mfg frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mi 06.07.05 18:08 
kommt das auch, wenn du das bild statisch einbindest ?
Progger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 35

WinServer 2003
D7 Enterprise
BeitragVerfasst: Mi 06.07.05 18:11 
was heißt schwieriger (is relativ)...
ich soll mir jegliches format,wie z.b. jpeg,jpg,png,pic usw.,reinladen können...daraufhin will ich auf diesem weiterzeichnen...allerdings kommt eine fehlermeldung...oder wenn ich vom clipboard ein bild reinladen will,entsteht wieder das problem...also falscher typ (wenn jpg im clipboard ist);

_________________
Was nicht kurz ist, ist eben lang und was nicht lang ist, ist eben kurz...
...So ist das Leben
hallo
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 450

WIN XP, SuSE 9.3
D3 Prof, D6 Pers, 2005 Pers
BeitragVerfasst: Mi 06.07.05 18:11 
Zeig bitte mal ein bisschen Quellcode!

_________________
Der beste je Programmierte Trojaner: Windows XP
Wäre es nicht adequat, den Usus heterogener Termini zu minimieren?
Progger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 35

WinServer 2003
D7 Enterprise
BeitragVerfasst: Mi 06.07.05 18:13 
statisch einbinden?? sorry

_________________
Was nicht kurz ist, ist eben lang und was nicht lang ist, ist eben kurz...
...So ist das Leben
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mi 06.07.05 18:14 
wenn du das bild schon drinne hast und nicht erst im src lädst
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mi 06.07.05 18:22 
Zitat:

procedure ...
var OwnPic: TPicture
begin
OwnPic.LoadFromClipBoardFormat(cf_Picture,ClipBoard.GetAsHandle(cf_Picture),0);
Image1.Picture := OwnPic;
{wenn im ClipBoard ein JPEG drin is --> Fehler}
end;

wo erzeugst du ownpic?

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Progger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 35

WinServer 2003
D7 Enterprise
BeitragVerfasst: Mi 06.07.05 18:24 
hier ma ein stück
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure ...
   var OwnPic: TPicture
begin
   OwnPic.LoadFromClipBoardFormat(cf_Picture,ClipBoard.GetAsHandle(cf_Picture),0);
   Image1.Picture := OwnPic;
   {wenn im ClipBoard ein JPEG drin is --> Fehler}
end;


zu F34r0fTh3D4rk: hab ich nich ausprobiert...soll ja auch nich

_________________
Was nicht kurz ist, ist eben lang und was nicht lang ist, ist eben kurz...
...So ist das Leben
Progger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 35

WinServer 2003
D7 Enterprise
BeitragVerfasst: Mi 06.07.05 18:26 
hab ich jetz vergessen,einzufügen
ausblenden Delphi-Quelltext
1:
{also} OwnPic := TPicture.Create;					

_________________
Was nicht kurz ist, ist eben lang und was nicht lang ist, ist eben kurz...
...So ist das Leben