Autor Beitrag
Durin
Hält's aus hier
Beiträge: 4



BeitragVerfasst: Mo 10.10.11 11:59 
Hallo Forum :)

Folgendes Problem habe ich bereits hier gepostet:
www.mycsharp.de/wbb2...d.php?threadid=98947

Leider wurde ich hier sehr schnell mit einem close abgewimmelt. Auf Empfehlung von Th69 probiere ich es hier nochmal, da ich zwischenzeitlich leider noch keine Lösung gefunden habe:


Ich komme ursprünglich aus der Webentwicklung mit PHP, habe aus dem Studium bisher JAVA mitgenommen und möchte mich gerade mit C# näher beschäftigen.

Zu diesem Zweck haben ich einen Launcher geschrieben, mit einem grafischen Skin, den mir jemand gezeichnet hat. Hier habe ich ein Problem:

Der Launcher funktioniert von seiner Funktionalität tadelos. Doch jedes mal, wenn ich den Text eines Labels, oder das visible Flag einer PictureBox mit transparentem Hintergrund und einer .png Grafik ändere flackert mir teilweise die ganze Form. Aus meiner Sicht lädt er jedesmal statt der trasparenz erst einen weißen Hintergrund und macht das Control danach transparent, so wirkt es jedenfalls. Ein unangenehmes Flackern eben.

Kann mir hier jemand weiterhelfen dieses Problem zu umgehen?

Ich habe bereits umfangreich gesucht und auch hier im Forum einiges gefunden. Im wesentlichen ausprobiert habe ich:

Doublepuffer soll wohl gegen diese flickern helfen. Vlt. bin ich hier zu naiv vorgegangen, ich habe lediglich in den Konstruktor der Main Form folgendes Snippet kopiert:
ausblenden C#-Quelltext
1:
this.SetStyle( ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true);					

Hatte leider keinen Effekt.

Auf der anderen Seite habe ich control.suspendLayout(); und control.resumeLayout() ausprobiert.

Analog zu oben, habe ich den Konstruktor mit suspend und resume geklammert und testweise in einer meiner methoden, welche die gui verändert für jedes element mit suspend und resume geklammert.

Ebenfalls leider keinen Effekt. :(

Für Hilfe sehr dankbar :)
Durin

Moderiert von user profile iconTh69: C#-Tags hinzugefügt
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Mo 10.10.11 12:13 
Der DoubleBuffer ControlStyle gehört in die obsolete Ecke. Ersetze den mal durch OptimizedDoubleBuffer vielleicht reicht das schon.
Durin Threadstarter
Hält's aus hier
Beiträge: 4



BeitragVerfasst: Mo 10.10.11 12:23 
Hallo Ralf Jansen,

Du meinst folgendermaßen?

ausblenden C#-Quelltext
1:
2:
3:
4:
5:
this.SetStyle(
    ControlStyles.UserPaint | 
    ControlStyles.AllPaintingInWmPaint | 
    ControlStyles.OptimizedDoubleBuffer, true
);


Eben ausprobiert: Leider kein Effekt :(
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Mo 10.10.11 12:27 
Schade. Das meinte ich.

Dann müsstest du uns mal zeigen wie der Skin gezeichnet wird. Also die OnPaint Methode oder der Paint Event deiner Form.
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4807
Erhaltene Danke: 1061

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Mo 10.10.11 12:29 
Hallo Durin,

könntest du vllt. mal ein Testprojekt aufsetzen und hier als Anhang hochladen?
Evtl. reicht es auch schon, in dem du ein neues Projekt aufsetzt und dann nach und nach die Controls hinzufügt, um zu sehen, ab wann das Flackern anfängt.
Durin Threadstarter
Hält's aus hier
Beiträge: 4



BeitragVerfasst: Mo 10.10.11 12:33 
Hallo Th69

Hm, dieses flackern habe ich auch bei kleinen Forms, z.B. einem meiner Popups zur Auswahl einer Verzeichnisses. Aber ja, da könnte ich mal Schritt für Schritt vorgehen. Allerdings erst im Laufe der Woche, hab leider nur gerade ein wenig Zeit und bin dann die nächsten 2 Tage ausgelastet.

@Ralf Jansen:

Das müsste wohl die InitializeCompononet() sein.

Bitteschön:

ausblenden volle Höhe C#-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
534:
535:
536:
537:
538:
539:
540:
541:
542:
543:
544:
545:
546:
547:
548:
549:
550:
551:
552:
553:
554:
555:
556:
557:
558:
559:
560:
561:
562:
563:
564:
565:
566:
567:
568:
569:
570:
571:
572:
573:
574:
575:
576:
577:
578:
/// <summary>
        /// Erforderliche Methode für die Designerunterstützung.
        /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.Launcher = new System.Windows.Forms.TableLayoutPanel();
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.button3 = new System.Windows.Forms.Button();
            this.panel1 = new System.Windows.Forms.Panel();
            this.newsBox = new System.Windows.Forms.GroupBox();
            this.news = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.pictureBox2 = new System.Windows.Forms.PictureBox();
            this.comboBox1 = new System.Windows.Forms.ComboBox();
            this.label7 = new System.Windows.Forms.Label();
            this.Menu = new System.Windows.Forms.MenuStrip();
            this.MenuData = new System.Windows.Forms.ToolStripMenuItem();
            this.MenuDataLauncher = new System.Windows.Forms.ToolStripMenuItem();
            this.MenuDataOptionen = new System.Windows.Forms.ToolStripMenuItem();
            this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.updatesSuchenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.MenuHelp = new System.Windows.Forms.ToolStripMenuItem();
            this.MenuHelpAbout = new System.Windows.Forms.ToolStripMenuItem();
            this.Optionen = new System.Windows.Forms.TableLayoutPanel();
            this.label3 = new System.Windows.Forms.Label();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.button4 = new System.Windows.Forms.Button();
            this.label4 = new System.Windows.Forms.Label();
            this.button5 = new System.Windows.Forms.Button();
            this.loadingPic = new System.Windows.Forms.PictureBox();
            this.statusTxt = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.checkBox1 = new System.Windows.Forms.CheckBox();
            this.ContentWrapper = new System.Windows.Forms.TableLayoutPanel();
            this.Body = new System.Windows.Forms.Panel();
            this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
            this.Launcher.SuspendLayout();
            this.panel1.SuspendLayout();
            this.newsBox.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
            this.Menu.SuspendLayout();
            this.Optionen.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.loadingPic)).BeginInit();
            this.ContentWrapper.SuspendLayout();
            this.Body.SuspendLayout();
            this.SuspendLayout();
            // 
            // Launcher
            // 
            this.Launcher.BackColor = System.Drawing.Color.Transparent;
            this.Launcher.ColumnCount = 10;
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.950248F));
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.950248F));
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.950248F));
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.950248F));
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.950248F));
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.950248F));
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.950248F));
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.950248F));
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.950248F));
            this.Launcher.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.44776F));
            this.Launcher.Controls.Add(this.button1, 09);
            this.Launcher.Controls.Add(this.button2, 29);
            this.Launcher.Controls.Add(this.label1, 01);
            this.Launcher.Controls.Add(this.button3, 99);
            this.Launcher.Controls.Add(this.panel1, 03);
            this.Launcher.Controls.Add(this.pictureBox1, 73);
            this.Launcher.Controls.Add(this.pictureBox2, 71);
            this.Launcher.Controls.Add(this.comboBox1, 59);
            this.Launcher.Controls.Add(this.label7, 58);
            this.Launcher.Dock = System.Windows.Forms.DockStyle.Fill;
            this.Launcher.Location = new System.Drawing.Point(00);
            this.Launcher.Name = "Launcher";
            this.Launcher.RowCount = 10;
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.Launcher.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
            this.Launcher.Size = new System.Drawing.Size(802450);
            this.Launcher.TabIndex = 0;
            this.Launcher.Paint += new System.Windows.Forms.PaintEventHandler(this.Launcher_Paint);
            // 
            // button1
            // 
            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button1.BackColor = System.Drawing.Color.Transparent;
            this.Launcher.SetColumnSpan(this.button1, 2);
            this.button1.Cursor = System.Windows.Forms.Cursors.Hand;
            this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif"9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.Location = new System.Drawing.Point(25408);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(13032);
            this.button1.TabIndex = 0;
            this.button1.Text = "Infracta - Homepage";
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button2.BackColor = System.Drawing.Color.Transparent;
            this.Launcher.SetColumnSpan(this.button2, 2);
            this.button2.Cursor = System.Windows.Forms.Cursors.Hand;
            this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif"9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button2.Location = new System.Drawing.Point(182408);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(13132);
            this.button2.TabIndex = 1;
            this.button2.Text = "Infracta - Forum";
            this.button2.UseVisualStyleBackColor = false;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.Launcher.SetColumnSpan(this.label1, 6);
            this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label1.Font = new System.Drawing.Font("Cooper Black"20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ForeColor = System.Drawing.Color.Maroon;
            this.label1.Location = new System.Drawing.Point(345);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(46845);
            this.label1.TabIndex = 3;
            this.label1.Text = "    INFRACTA - LAUNCHER";
            // 
            // button3
            // 
            this.button3.Cursor = System.Windows.Forms.Cursors.Hand;
            this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif"6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button3.Location = new System.Drawing.Point(714408);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(5732);
            this.button3.TabIndex = 4;
            this.button3.Text = "Spiel\r\nstarten!\r\n";
            this.button3.UseVisualStyleBackColor = true;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            // 
            // panel1
            // 
            this.Launcher.SetColumnSpan(this.panel1, 7);
            this.panel1.Controls.Add(this.newsBox);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(3138);
            this.panel1.Name = "panel1";
            this.Launcher.SetRowSpan(this.panel1, 5);
            this.panel1.Size = new System.Drawing.Size(547219);
            this.panel1.TabIndex = 6;
            // 
            // newsBox
            // 
            this.newsBox.Controls.Add(this.news);
            this.newsBox.Controls.Add(this.label2);
            this.newsBox.ForeColor = System.Drawing.Color.DarkRed;
            this.newsBox.Location = new System.Drawing.Point(323);
            this.newsBox.Name = "newsBox";
            this.newsBox.Size = new System.Drawing.Size(512213);
            this.newsBox.TabIndex = 5;
            this.newsBox.TabStop = false;
            this.newsBox.Text = "                    ";
            // 
            // news
            // 
            this.news.AutoSize = true;
            this.news.Dock = System.Windows.Forms.DockStyle.Fill;
            this.news.Font = new System.Drawing.Font("Britannic Bold"11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.news.ForeColor = System.Drawing.Color.Black;
            this.news.Location = new System.Drawing.Point(316);
            this.news.Margin = new System.Windows.Forms.Padding(101030);
            this.news.Name = "news";
            this.news.Size = new System.Drawing.Size(016);
            this.news.TabIndex = 1;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("Arial Black"11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.Color.Maroon;
            this.label2.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.label2.Location = new System.Drawing.Point(6, -3);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(6122);
            this.label2.TabIndex = 0;
            this.label2.Text = " News";
            // 
            // pictureBox1
            // 
            this.Launcher.SetColumnSpan(this.pictureBox1, 3);
            this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
            this.pictureBox1.Location = new System.Drawing.Point(556138);
            this.pictureBox1.Name = "pictureBox1";
            this.Launcher.SetRowSpan(this.pictureBox1, 5);
            this.pictureBox1.Size = new System.Drawing.Size(243219);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.pictureBox1.TabIndex = 7;
            this.pictureBox1.TabStop = false;
            // 
            // pictureBox2
            // 
            this.Launcher.SetColumnSpan(this.pictureBox2, 2);
            this.pictureBox2.Cursor = System.Windows.Forms.Cursors.Hand;
            this.pictureBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
            this.pictureBox2.Location = new System.Drawing.Point(55648);
            this.pictureBox2.Name = "pictureBox2";
            this.pictureBox2.Size = new System.Drawing.Size(15239);
            this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox2.TabIndex = 8;
            this.pictureBox2.TabStop = false;
            this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
            // 
            // comboBox1
            // 
            this.Launcher.SetColumnSpan(this.comboBox1, 4);
            this.comboBox1.Cursor = System.Windows.Forms.Cursors.Hand;
            this.comboBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.comboBox1.DropDownHeight = 120;
            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif"14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.comboBox1.FormattingEnabled = true;
            this.comboBox1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.comboBox1.IntegralHeight = false;
            this.comboBox1.ItemHeight = 24;
            this.comboBox1.Location = new System.Drawing.Point(398408);
            this.comboBox1.MaxDropDownItems = 5;
            this.comboBox1.Name = "comboBox1";
            this.comboBox1.Size = new System.Drawing.Size(31032);
            this.comboBox1.TabIndex = 2;
            this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.Launcher.SetColumnSpan(this.label7, 4);
            this.label7.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label7.Font = new System.Drawing.Font("Mistral"12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.Location = new System.Drawing.Point(398360);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(31045);
            this.label7.TabIndex = 9;
            this.label7.Text = "Infracta Modifikation";
            this.label7.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            this.label7.Visible = false;
            // 
            // Menu
            // 
            this.Menu.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Menu.BackgroundImage")));
            this.Menu.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            this.ContentWrapper.SetColumnSpan(this.Menu, 10);
            this.Menu.Font = new System.Drawing.Font("Segoe UI"8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.MenuData,
            this.toolsToolStripMenuItem,
            this.MenuHelp});
            this.Menu.Location = new System.Drawing.Point(00);
            this.Menu.Name = "Menu";
            this.Menu.Size = new System.Drawing.Size(80823);
            this.Menu.TabIndex = 9;
            this.Menu.Text = "menuStrip1";
            // 
            // MenuData
            // 
            this.MenuData.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.MenuDataLauncher,
            this.MenuDataOptionen});
            this.MenuData.Image = ((System.Drawing.Image)(resources.GetObject("MenuData.Image")));
            this.MenuData.Name = "MenuData";
            this.MenuData.Size = new System.Drawing.Size(5919);
            this.MenuData.Text = "Data";
            // 
            // MenuDataLauncher
            // 
            this.MenuDataLauncher.Image = ((System.Drawing.Image)(resources.GetObject("MenuDataLauncher.Image")));
            this.MenuDataLauncher.Name = "MenuDataLauncher";
            this.MenuDataLauncher.Size = new System.Drawing.Size(12422);
            this.MenuDataLauncher.Text = "Launcher";
            this.MenuDataLauncher.Click += new System.EventHandler(this.launcherToolStripMenuItem_Click);
            // 
            // MenuDataOptionen
            // 
            this.MenuDataOptionen.Image = ((System.Drawing.Image)(resources.GetObject("MenuDataOptionen.Image")));
            this.MenuDataOptionen.Name = "MenuDataOptionen";
            this.MenuDataOptionen.Size = new System.Drawing.Size(12422);
            this.MenuDataOptionen.Text = "Optionen";
            this.MenuDataOptionen.Click += new System.EventHandler(this.MenuDataOptionen_Click);
            // 
            // toolsToolStripMenuItem
            // 
            this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.updatesSuchenToolStripMenuItem});
            this.toolsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("toolsToolStripMenuItem.Image")));
            this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
            this.toolsToolStripMenuItem.Size = new System.Drawing.Size(6219);
            this.toolsToolStripMenuItem.Text = "Tools";
            // 
            // updatesSuchenToolStripMenuItem
            // 
            this.updatesSuchenToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("updatesSuchenToolStripMenuItem.Image")));
            this.updatesSuchenToolStripMenuItem.Name = "updatesSuchenToolStripMenuItem";
            this.updatesSuchenToolStripMenuItem.Size = new System.Drawing.Size(15722);
            this.updatesSuchenToolStripMenuItem.Text = "Updates suchen";
            this.updatesSuchenToolStripMenuItem.Click += new System.EventHandler(this.updatesSuchenToolStripMenuItem_Click);
            // 
            // MenuHelp
            // 
            this.MenuHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.MenuHelpAbout});
            this.MenuHelp.Image = ((System.Drawing.Image)(resources.GetObject("MenuHelp.Image")));
            this.MenuHelp.Name = "MenuHelp";
            this.MenuHelp.Size = new System.Drawing.Size(5919);
            this.MenuHelp.Text = "Help";
            // 
            // MenuHelpAbout
            // 
            this.MenuHelpAbout.Image = ((System.Drawing.Image)(resources.GetObject("MenuHelpAbout.Image")));
            this.MenuHelpAbout.Name = "MenuHelpAbout";
            this.MenuHelpAbout.Size = new System.Drawing.Size(10622);
            this.MenuHelpAbout.Text = "About";
            this.MenuHelpAbout.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
            // 
            // Optionen
            // 
            this.Optionen.ColumnCount = 20;
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.Controls.Add(this.label3, 02);
            this.Optionen.Controls.Add(this.textBox1, 37);
            this.Optionen.Controls.Add(this.button4, 147);
            this.Optionen.Controls.Add(this.label4, 25);
            this.Optionen.Controls.Add(this.button5, 1519);
            this.Optionen.Controls.Add(this.loadingPic, 218);
            this.Optionen.Controls.Add(this.statusTxt, 319);
            this.Optionen.Controls.Add(this.label5, 210);
            this.Optionen.Controls.Add(this.label6, 312);
            this.Optionen.Controls.Add(this.checkBox1, 1412);
            this.Optionen.Dock = System.Windows.Forms.DockStyle.Fill;
            this.Optionen.Location = new System.Drawing.Point(00);
            this.Optionen.Name = "Optionen";
            this.Optionen.RowCount = 20;
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.Optionen.Size = new System.Drawing.Size(802450);
            this.Optionen.TabIndex = 10;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.Optionen.SetColumnSpan(this.label3, 12);
            this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label3.Font = new System.Drawing.Font("Cooper Black"20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.ForeColor = System.Drawing.Color.Maroon;
            this.label3.Location = new System.Drawing.Point(344);
            this.label3.Name = "label3";
            this.Optionen.SetRowSpan(this.label3, 2);
            this.label3.Size = new System.Drawing.Size(47444);
            this.label3.TabIndex = 4;
            this.label3.Text = "    Optionen";
            // 
            // textBox1
            // 
            this.Optionen.SetColumnSpan(this.textBox1, 8);
            this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox1.Location = new System.Drawing.Point(123157);
            this.textBox1.Name = "textBox1";
            this.textBox1.ReadOnly = true;
            this.textBox1.Size = new System.Drawing.Size(31420);
            this.textBox1.TabIndex = 5;
            // 
            // button4
            // 
            this.Optionen.SetColumnSpan(this.button4, 2);
            this.button4.Dock = System.Windows.Forms.DockStyle.Top;
            this.button4.Font = new System.Drawing.Font("Arial"7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button4.Location = new System.Drawing.Point(563157);
            this.button4.Name = "button4";
            this.Optionen.SetRowSpan(this.button4, 2);
            this.button4.Size = new System.Drawing.Size(7420);
            this.button4.TabIndex = 6;
            this.button4.Text = "...";
            this.button4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            this.button4.UseVisualStyleBackColor = true;
            this.button4.Click += new System.EventHandler(this.button4_Click);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.Optionen.SetColumnSpan(this.label4, 8);
            this.label4.Font = new System.Drawing.Font("Cooper Black"12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.ForeColor = System.Drawing.Color.Black;
            this.label4.Location = new System.Drawing.Point(83110);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(28919);
            this.label4.TabIndex = 7;
            this.label4.Text = "Medieval II Total War Verzeichnis:";
            // 
            // button5
            // 
            this.Optionen.SetColumnSpan(this.button5, 4);
            this.button5.Dock = System.Windows.Forms.DockStyle.Fill;
            this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif"6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button5.Location = new System.Drawing.Point(603421);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(15426);
            this.button5.TabIndex = 8;
            this.button5.Text = "Änderungen übernehmen";
            this.button5.UseVisualStyleBackColor = true;
            this.button5.Click += new System.EventHandler(this.button5_Click);
            // 
            // loadingPic
            // 
            this.loadingPic.Dock = System.Windows.Forms.DockStyle.Fill;
            this.loadingPic.Image = ((System.Drawing.Image)(resources.GetObject("loadingPic.Image")));
            this.loadingPic.Location = new System.Drawing.Point(83399);
            this.loadingPic.Name = "loadingPic";
            this.Optionen.SetRowSpan(this.loadingPic, 2);
            this.loadingPic.Size = new System.Drawing.Size(3448);
            this.loadingPic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.loadingPic.TabIndex = 9;
            this.loadingPic.TabStop = false;
            // 
            // statusTxt
            // 
            this.statusTxt.AutoSize = true;
            this.Optionen.SetColumnSpan(this.statusTxt, 8);
            this.statusTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.statusTxt.Font = new System.Drawing.Font("Cooper Black"9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.statusTxt.Location = new System.Drawing.Point(123418);
            this.statusTxt.Name = "statusTxt";
            this.statusTxt.Size = new System.Drawing.Size(31432);
            this.statusTxt.TabIndex = 10;
            this.statusTxt.Text = "Hier kommt eine Meldung";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.Optionen.SetColumnSpan(this.label5, 8);
            this.label5.Font = new System.Drawing.Font("Cooper Black"12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.Location = new System.Drawing.Point(83220);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(24119);
            this.label5.TabIndex = 11;
            this.label5.Text = "Automatische Update Suche:";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.Optionen.SetColumnSpan(this.label6, 8);
            this.label6.Font = new System.Drawing.Font("Cooper Black"9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.Location = new System.Drawing.Point(123264);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(27815);
            this.label6.TabIndex = 12;
            this.label6.Text = "Automatische Update Suche aktivieren?";
            // 
            // checkBox1
            // 
            this.checkBox1.AutoSize = true;
            this.checkBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.checkBox1.Location = new System.Drawing.Point(563267);
            this.checkBox1.Name = "checkBox1";
            this.checkBox1.Size = new System.Drawing.Size(3416);
            this.checkBox1.TabIndex = 13;
            this.checkBox1.UseVisualStyleBackColor = true;
            this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
            // 
            // ContentWrapper
            // 
            this.ContentWrapper.BackColor = System.Drawing.Color.Transparent;
            this.ContentWrapper.ColumnCount = 1;
            this.ContentWrapper.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.ContentWrapper.Controls.Add(this.Menu, 00);
            this.ContentWrapper.Controls.Add(this.Body, 01);
            this.ContentWrapper.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ContentWrapper.Location = new System.Drawing.Point(00);
            this.ContentWrapper.Name = "ContentWrapper";
            this.ContentWrapper.RowCount = 1;
            this.ContentWrapper.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.ContentWrapper.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 95F));
            this.ContentWrapper.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
            this.ContentWrapper.Size = new System.Drawing.Size(808479);
            this.ContentWrapper.TabIndex = 10;
            // 
            // Body
            // 
            this.Body.Controls.Add(this.Launcher);
            this.Body.Controls.Add(this.Optionen);
            this.Body.Dock = System.Windows.Forms.DockStyle.Fill;
            this.Body.Location = new System.Drawing.Point(326);
            this.Body.Name = "Body";
            this.Body.Size = new System.Drawing.Size(802450);
            this.Body.TabIndex = 2;
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.ClientSize = new System.Drawing.Size(808479);
            this.Controls.Add(this.ContentWrapper);
            this.DoubleBuffered = true;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MainMenuStrip = this.Menu;
            this.MaximizeBox = false;
            this.Name = "Form1";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Infracta Launcher";
            this.TransparencyKey = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.mainWindow_FormClosing);
            this.Launcher.ResumeLayout(false);
            this.Launcher.PerformLayout();
            this.panel1.ResumeLayout(false);
            this.newsBox.ResumeLayout(false);
            this.newsBox.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            this.Menu.ResumeLayout(false);
            this.Menu.PerformLayout();
            this.Optionen.ResumeLayout(false);
            this.Optionen.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.loadingPic)).EndInit();
            this.ContentWrapper.ResumeLayout(false);
            this.ContentWrapper.PerformLayout();
            this.Body.ResumeLayout(false);
            this.ResumeLayout(false);

        }


EDIT:

Hab grad nochmal nachgesehen: Mein About Popup ist ein schönes kleines Beispiel, welches bei mir stark flackert.

Ich habs hier mal hochgeladen: www.infracta.de/docs/About.zip
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Mo 10.10.11 12:56 
Nein. Das war es nicht was ich wollte.

Aber man kann zumindest ein paar Details erraten ;) Die Styles zu setzen hilft nicht da du es schon längst getan hast (die DoubleBuffered Property gesetzt). Gezeichnet/geskinnt wird aber auch scheinbar nicht die Form sondern eins deiner TableLayoutPanels. Controls zeichnen sich jeweils selber. Dein Panel ist also mehr oder weniger unbeeindruckt davon wie du deine Form einstellst. Zeig doch mal denn Launcher_Paint Event. Ungesehen sieht es für mich im Moment so aus das du wahrscheinlich ein eigenes TableLayoutPanel ableiten musst um dessen DoubleBuffered Property bzw. ControlStyles zu setzen.
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4807
Erhaltene Danke: 1061

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Mo 10.10.11 13:34 
Hallo Durin,

dein About-Programm flackert bei mir nicht (bzw. kaum, d.h. nicht mehr als auch andere Fenster, wie z.B. der "Explorer") beim Verschieben (hauptsächlich der Windows-Rand).

Unter welcher Windows-Version testest du denn? Ich habe hier noch WinXP.
Horschdware
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 744
Erhaltene Danke: 54

Win XP Pro, Win 7 Pro x64
Delphi 7, Delphi XE, C++ Builder 5, SAP R/3
BeitragVerfasst: Mo 10.10.11 13:39 
Bei mir flackert das About-Programm auch nicht.
Lediglich der Aufbau des Fensters dauert ein wenig (alter Rechner), wodurch erst ein paar weisse Flächen sichtbar sind, die innerhalb von Sekundenbruchteilen nach dem Start mit den gewünschten Elementen überdeckt werden.

System ist WinXP SP3.

_________________
Delphi: XE - OS: Windows 7 Professional x64
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Mo 10.10.11 13:43 
Was soll da denn Flackern und wobei? Es gibt keinen veränderlichen Inhalt in der About Form. Wenn es beim verschieben flackert liegt es an deinem System/Treiber. Deine Anwendung ist beim verschieben eigentlich gänzlich unbeteiligt.
validas
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 35

WinXP, Win7
Microsoft Visual Studio 2010
BeitragVerfasst: Mo 10.10.11 13:59 
Auch ich habe nichts störendes gesehen... kein flackern.. Ebenfalls getestet unter WinXP SP3....
Durin Threadstarter
Hält's aus hier
Beiträge: 4



BeitragVerfasst: Mo 10.10.11 15:10 
Merkwürdig:

Ich hab ein Win7 64 Bit System, bei mir flackert er ordentlich beim Aufbau des Aboutfensters. Überall dort wo ein transparenter Hintergrund gesetzt ist lädt er zunächst weis und dann transparent, dadurch flimmert er beim Aufbau. Das selbe Flimmern habe ich ganz extrem bei meiner Hauptanwendung, da dort mehr Elemente sind. Dort habe ich dann auch "Animationen" bzw. sich ändernde Elemente. Zum Beispiel beim Wechsel zwischen 2 Tablelayouts (also dem visible false/true) flimmert er ebenso. Dies beobachte ich nur bei meiner Anwendung, nicht bei anderen Anwendungen.

@ Ralf Jansen:

Er registriert zwar einen Eventhandler auf die Launcher_Paint Function, ich habe aber keine solche. Wo befindet die sich? Wenn ich auf "springe zur Definition" klicke, lande ich in meiner Form1 Klasse und er generiert eine solche Funktion