When my window is resizing ( that's while the window is being draged ), my listbox control flickers
for unknown reason. All the other controls which include "richedit, edit, button, scrollbar" are
working normaly. I'm not doing any drawing myself, i just declared listbox with this:
As you can see my listbox has few strings, one of them is selected.Code:CreateWindowEx(WS_EX_CLIENTEDGE,"ListBox","........",
WS_CHILD | WS_VSCROLL | LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | LBS_NOTIFY,
10, 10, 200, 100, hWindow, (HMENU)(305), hinstance, NULL);
// i'm adding a few strings to my listbox here, not important
for(int i = 0; i < number_of_books; i++)
{
SendMessage(lBooks, LB_ADDSTRING, NULL, (LPARAM)books.name[i]);
}
The only problem is flickering, and i'm not sure why other controls aren't flickering as well.
bahh.... :confused: