Solved

Problem with ListBox update

Posted on 2000-05-12
2
287 Views
Last Modified: 2013-12-03
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 ?




0
Comment
Question by:WxW
2 Comments
 
LVL 15

Accepted Solution

by:
NickRepin earned 35 total points
ID: 2803873
<<WS_EX_TRANSPARENT was designed to be used in very modal situations and the lifetime of a window with this style must be very short. A good use of this style is for drawing tracking points on the top of another window. For example, a dialog editor would use it to draw tracking points around the control that is being selected or moved. >>
0
 
LVL 6

Author Comment

by:WxW
ID: 2804044
great
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question