I'm writing an application that I expect to be resized. In order to eliminate the flicker that occurs while resizing a window, I have used the WS_EX_COMPOSITED style when creating the window. Everything goes fine until I try to add a SysListView32 to my window. The list is created and added without an error, but never becomes visible. You can see this in Iczelion's tutorial:
http://win32assembly.online.fr/tut31.html
Change the following line:
to:
and the window comes up blank. If you then add the LVS_NOCOLUMNHEADER style to the list it will reappear without the headers. My question is, how can I have a list view with column headers on a WS_EX_COMPOSITED window?
http://win32assembly.online.fr/tut31.html
Change the following line:
invoke CreateWindowEx,NULL,ADDR ClassName,ADDR AppName
to:
invoke CreateWindowEx,WS_EX_COMPOSITED,ADDR ClassName,ADDR AppName
and the window comes up blank. If you then add the LVS_NOCOLUMNHEADER style to the list it will reappear without the headers. My question is, how can I have a list view with column headers on a WS_EX_COMPOSITED window?