Problem with ListBox update
Posted on 2000-05-12
I have a list box created with this :
rList = CreateWindowEx(WS_EX_CLIENTEDGE | WS_EX_WINDOWEDGE | WS_EX_ACCEPTFILES | WS_EX_TRANSPARENT,"listboxex","",WS_VISIBLE | WS_BORDER | WS_CHILD | WS_TABSTOP | LBS_NOTIFY | LBS_EXTENDEDSEL | LBS_MULTIPLESEL | LBS_STANDARD | WS_CHILD | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL | WS_TABSTOP,0,0,100,100,HWindow,(HMENU)903,hInstance,0);
listboxex is a class that only processes mouse clicks and drag + drop events . The control also receives WM_CTL* messages .
I have a problem with Windows 98 . The scroll bars and the border of the listbox aren't always visible , only if I send a new item with LB_ADDITEM they are updated , and then again problem . This didn't happen with Win 95
How can I fix it ?