#1492 closed Bug (No Bug)
Problem with listview AND $WS_EX_COMPOSITED in a gui — at Version 7
| Reported by: | funkey | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.4.0 | Severity: | None |
| Keywords: | Cc: |
Description (last modified by )
I have high CPU load and there is no listview visible.
;Problem with listview AND $WS_EX_COMPOSITED in a gui
$Form1 = GUICreate("Bug-Test", 200, 200, -1, -1, -1, BitOR(0x02000000, 0x00000010)); $WS_EX_COMPOSITED, WS_EX_ACCEPTFILES))
$hLV = GUICtrlCreateListView("", 10, 10, 180, 180)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
EndSwitch
WEnd
AutoIt:3.3.4.0 (Os:WIN_XP/X86/Service Pack 2 Language:0407 Keyboard:00000407 Cpu:X64)
Change History (7)
comment:2 by , on Apr 24, 2010 at 3:22:31 PM
And how to reduce flickering while resizing? $WS_EX_COMPOSITED works great for that.
comment:3 by , on May 25, 2010 at 7:40:40 AM
I am afraid to suppress th CS_OWNDC that currently AutoIt is setting when creating a GUI.
Valik mention that the AutoIt must be subclass when using such extended style to have your own behavior.
comment:4 by , on May 28, 2010 at 6:46:30 AM
I just read http://www.codeguru.com/forum/showthread.php?t=324061
and as I understand it can be hard to manage ...
comment:5 by , on Jun 24, 2010 at 9:05:32 AM
I am not able to fix such behavior the suppression of CS_OWNDC as I try to do it does not help either.
I leave to other Dev the final answer on this ticket
comment:6 by , on Jun 24, 2010 at 11:11:29 AM
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:7 by , on Sep 15, 2011 at 11:12:15 PM
| Description: | modified (diff) |
|---|---|
| Resolution: | → No Bug |
| Status: | assigned → closed |
This is not a bug. The documentation for WS_EX_COMPOSITED says it is not compatible with the CS_OWNDC or CS_CLASSDC class styles. Closing as no bug.

I don't know why you need to use such extended style but MSDN doc say
That exactly what Autoit is using for GuiCreate. I plan to reject this extended style. I think everybody will agree ...