Click here to Skip to main content
15,906,708 members
Home / Discussions / C#
   

C#

 
GeneralRe: Recommendations for a commercial .NET Grid product? Pin
Atul Kale20-Feb-03 3:52
Atul Kale20-Feb-03 3:52 
GeneralA little help with MDIParent event process..... Pin
LongRange.Shooter18-Feb-03 5:30
LongRange.Shooter18-Feb-03 5:30 
GeneralRe: A little help with MDIParent event process..... Pin
Atul Kale20-Feb-03 3:40
Atul Kale20-Feb-03 3:40 
GeneralIf someone needs modified code of ShellPopupMenu(UtilityLibrary) FoldersTree context menu Pin
Alexei Prokudin18-Feb-03 4:41
Alexei Prokudin18-Feb-03 4:41 
GeneralIcon for MenuItems in ContextMenu displayed in NotifyIcon in Systemtray Pin
rund1me18-Feb-03 4:20
rund1me18-Feb-03 4:20 
GeneralRe: Icon for MenuItems in ContextMenu displayed in NotifyIcon in Systemtray Pin
jtmtv1818-Feb-03 17:09
jtmtv1818-Feb-03 17:09 
GeneralRe: Icon for MenuItems in ContextMenu displayed in NotifyIcon in Systemtray Pin
rund1me19-Feb-03 20:38
rund1me19-Feb-03 20:38 
GeneralWindows Media Player Pin
antoine@orchus-tech18-Feb-03 3:57
antoine@orchus-tech18-Feb-03 3:57 
GeneralRe: Windows Media Player Pin
Kannan Kalyanaraman18-Feb-03 18:56
Kannan Kalyanaraman18-Feb-03 18:56 
Generalhelp in mobile application Pin
Jassim Rahma18-Feb-03 3:20
Jassim Rahma18-Feb-03 3:20 
Generalsnap-ins Pin
Sadegh18-Feb-03 2:32
Sadegh18-Feb-03 2:32 
GeneralRe: snap-ins Pin
Richard Deeming18-Feb-03 4:42
mveRichard Deeming18-Feb-03 4:42 
GeneralShell Programming in Web Forms Pin
TeraCoder18-Feb-03 1:41
TeraCoder18-Feb-03 1:41 
GeneralRe: Shell Programming in Web Forms Pin
Heath Stewart18-Feb-03 2:04
protectorHeath Stewart18-Feb-03 2:04 
GeneralListview selection behaviour Pin
SimonS18-Feb-03 0:24
SimonS18-Feb-03 0:24 
GeneralRe: Listview selection behaviour Pin
Heath Stewart18-Feb-03 2:19
protectorHeath Stewart18-Feb-03 2:19 
The default painting is what is causing this, so owner-drawing your ListView is exactly what you need. Even if you override ListView.OnSelectedIndexChanged (doing what your doing is not soon enough in the event chain) you still have to take care of all these color changes. To implement this form of owner-drawing, however, you'll probably have to override WndProc and having the LVN_* and NM_* notifications of Win32. You could try doing this in OnSelectedIndexChanged, but that won't give you the border you want.


Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN

GeneralRe: Listview selection behaviour Pin
Stephane Rodriguez.18-Feb-03 4:27
Stephane Rodriguez.18-Feb-03 4:27 
GeneralC# and problems working with Excel2000 Pin
Marix17-Feb-03 20:28
Marix17-Feb-03 20:28 
GeneralRe: C# and problems working with Excel2000 Pin
Stephane Rodriguez.17-Feb-03 20:56
Stephane Rodriguez.17-Feb-03 20:56 
GeneralRe: C# and problems working with Excel2000 Pin
Marix18-Feb-03 1:16
Marix18-Feb-03 1:16 
GeneralRe: C# and problems working with Excel2000 Pin
Stephane Rodriguez.18-Feb-03 1:21
Stephane Rodriguez.18-Feb-03 1:21 
GeneralRe: C# and problems working with Excel2000 Pin
Marix18-Feb-03 1:57
Marix18-Feb-03 1:57 
GeneralRe: C# and problems working with Excel2000 Pin
Alexander Kojevnikov19-Feb-03 6:43
Alexander Kojevnikov19-Feb-03 6:43 
GeneralRe: C# and problems working with Excel2000 Pin
Alexander Kojevnikov19-Feb-03 6:48
Alexander Kojevnikov19-Feb-03 6:48 
GeneralRe: C# and problems working with Excel2000 Pin
Marix20-Feb-03 2:21
Marix20-Feb-03 2:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.