Style:  Aqua  Graphite  Dark 
    TabSRMM
*
   
Please login or register. Forgot your password?
linktree TabSRMM  >  TabSRMM support  >  Bug reports (Moderator: Nightwish)
linktree Topic: clist nicer not repainting correctly after uncovering window
Members: 2190  •  Posts: 10350  •  Topics: 1749
Please welcome Jon Transter, our newest member.
0 Members and 1 Guest are viewing this topic.
 
Topic: clist nicer not repainting correctly after uncovering window, Started by user1001  (Read 290 times) Search this topic *
Pages: [1] |   Go Down
Forum Member
*****

Karma: 0
Posts: 2
Hi

When using CList Nicer 0.8 on Windows 98, Miranda's window is not repainted correctly after uncovering window anymore.
A picture which shows the problem attached.

Here's the fix:
Code: [Select]
Index: clistmod.c
===================================================================
--- clistmod.c (revision 7112)
+++ clistmod.c (working copy)
@@ -230,9 +230,9 @@
  int offScreen = 0;
 
  SystemParametersInfo(SPI_GETWORKAREA, 0, &rcScreen, FALSE);
- SetWindowPos(pcli->hwndContactList, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOREDRAW | SWP_NOSENDCHANGING | SWP_NOCOPYBITS);
+ SetWindowPos(pcli->hwndContactList, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOSENDCHANGING | SWP_NOCOPYBITS);
  if (!DBGetContactSettingByte(NULL, "CList", "OnTop", SETTING_ONTOP_DEFAULT))
- SetWindowPos(pcli->hwndContactList, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOREDRAW | SWP_NOSENDCHANGING | SWP_NOCOPYBITS);
+ SetWindowPos(pcli->hwndContactList, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOSENDCHANGING | SWP_NOCOPYBITS);
  SetForegroundWindow(pcli->hwndContactList);
  //SetActiveWindow(pcli->hwndContactList);
  ShowWindow(pcli->hwndContactList, SW_SHOW);
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2660
Developer
Known issue under Windows 9x.

Only Windows 2000 and XP are officially supported. Repainting is optimized for these operating systems to make it faster.

There are no plans to change this. Win 9x is essentially dead and writing code specifically optimized for it doesn't make sense any more.

Your "fix" will slow down things under XP and may even cause flickering, so I'am not going to apply it, sorry.

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Forum Member
*****

Karma: 0
Posts: 2
That's a pity :(

So maybe you have a clue what is different between win 9x and win xp way of handling this repainting so that a workaround could be made for KernelEx project?

Project page:
http://x86.neostrada.pl/KernelEx/

Official forum thread:
http://www.msfn.org/board/index.php?showtopic=71476
Administrator
Forum Member
*****

Karma: 115
Gender: Male
Posts: 2660
Developer
That's a pity :(

So maybe you have a clue what is different between win 9x and win xp way of handling this repainting so that a workaround could be made for KernelEx project?

No sorry. I've given up with Win 9x many, many years ago.

It's probably a small difference in the user32 system. There are many such differences and generally, XP exposes a more aggressive redrawing method so that applications don't have to force redraws like it's often necessary under Win 9x.

---------------------------
Miranda@AT blog
Instant Messaging (Jabber preferred): JID  silvercircle _at_ gmail _dot_ com
--
And the cause for the problem is:
You must've hit the wrong any key.
Pages: [1] |   Go Up« previous next »
linktree TabSRMM  >  TabSRMM support  >  Bug reports (Moderator: Nightwish)
linktree Topic: clist nicer not repainting correctly after uncovering window


Tags:


Related Topics
  Subject / Started by Replies Last post
Clist Nicer
Started by: Nightwish
6 Replies
5429 Views
Last post June 06, 2005, 12:23:47
by ytsejam
3 Replies
1382 Views
Last post February 28, 2006, 09:15:39
by Cat65
3 Replies
1129 Views
Last post July 30, 2006, 13:28:31
by Nightwish
1 Replies
1176 Views
Last post November 22, 2006, 22:38:34
by Nightwish
1 Replies
1015 Views
Last post January 08, 2007, 21:22:15
by Nightwish

 
Powered by SMF 2 | SMF © 2006–2010, Simple Machines LLC
XHTML RSS WAP2 Theme by Mirana@at, icons courtesy of FamFam and Crystal

Page created in 0.238 seconds with 23 queries.