Solved

Problem with ListBox update

Posted on 2000-05-12
2
285 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
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…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

759 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now