Opened 16 years ago
Closed 14 years ago
#1492 closed Bug (No Bug)
Problem with listview AND $WS_EX_COMPOSITED in a gui
| 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)
Attachments (0)
Change History (7)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
And how to reduce flickering while resizing? $WS_EX_COMPOSITED works great for that.
comment:3 by , 16 years ago
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 , 16 years ago
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 , 16 years ago
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 , 16 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:7 by , 14 years ago
| 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 ...