Click here to Skip to main content
15,911,707 members
Home / Discussions / C#
   

C#

 
GeneralRe: Garbage Collection + threading question Pin
Radoslav Bielik18-Dec-02 6:46
Radoslav Bielik18-Dec-02 6:46 
GeneralProblems while developing an Explorer bar in C# Pin
Arun Bhalla16-Dec-02 12:16
Arun Bhalla16-Dec-02 12:16 
GeneralWin32 Search features Pin
David23g16-Dec-02 11:46
David23g16-Dec-02 11:46 
GeneralRe: Win32 Search features Pin
Jeff J16-Dec-02 19:26
Jeff J16-Dec-02 19:26 
GeneralListView Icon Selection Pin
Jonathan Austin16-Dec-02 11:04
Jonathan Austin16-Dec-02 11:04 
GeneralRe: ListView Icon Selection Pin
Jonathan Austin16-Dec-02 11:21
Jonathan Austin16-Dec-02 11:21 
GeneralRe: ListView Icon Selection (I butchered it) Pin
Jonathan Austin16-Dec-02 12:25
Jonathan Austin16-Dec-02 12:25 
GeneralRe: ListView Icon Selection (I butchered it) Pin
Jeff J16-Dec-02 19:03
Jeff J16-Dec-02 19:03 
Highliting the icon is handled automatically by listviews, and there is no style bit or anything to override that behaviour. I also wish only the text were highlited, but to do so would mean custom drawing, as you mentioned. I have done it, but that code is somewhere in the archives of a company I once worked for.

If you still desire to do so, the drawing of the foreground and background colors is fairly easy, but handling the drawing of the focus rectangle is a bit of a pain (at least when multi-select is enabled). Be careful when drawing selection ranges, as you need to remember which item is the "pivotal" selection (I forget the official term, it's been a while). Othewise, you won't be able to extend or reverse selection changes properly, when the user keeps CTRL or SHIFT down.
GeneralRe: ListView Icon Selection (I butchered it) Pin
Jonathan Austin17-Dec-02 8:08
Jonathan Austin17-Dec-02 8:08 
Generalquestion on string and encryption sorta Pin
jtmtv1816-Dec-02 9:51
jtmtv1816-Dec-02 9:51 
GeneralRe: question on string and encryption sorta Pin
jtmtv1816-Dec-02 10:45
jtmtv1816-Dec-02 10:45 
GeneralRe: question on string and encryption sorta Pin
Rob Graham16-Dec-02 11:15
Rob Graham16-Dec-02 11:15 
Questionhelp require? Pin
imran_rafique16-Dec-02 6:49
imran_rafique16-Dec-02 6:49 
AnswerRe: help require? Pin
Andres Manggini16-Dec-02 12:13
Andres Manggini16-Dec-02 12:13 
GeneralRe: help require? Pin
imran_rafique16-Dec-02 12:36
imran_rafique16-Dec-02 12:36 
GeneralWindows Form Control hosted in IE Pin
LJMorsillo16-Dec-02 4:34
LJMorsillo16-Dec-02 4:34 
Questionxor strings?? Pin
Karavaev Denis15-Dec-02 23:52
Karavaev Denis15-Dec-02 23:52 
AnswerRe: xor strings?? Pin
Kannan Kalyanaraman16-Dec-02 0:13
Kannan Kalyanaraman16-Dec-02 0:13 
GeneralRe: xor strings?? Pin
Karavaev Denis16-Dec-02 0:46
Karavaev Denis16-Dec-02 0:46 
GeneralRe: xor strings?? Pin
Christian Graus16-Dec-02 0:54
protectorChristian Graus16-Dec-02 0:54 
GeneralRe: xor strings?? Pin
Karavaev Denis16-Dec-02 1:06
Karavaev Denis16-Dec-02 1:06 
GeneralRe: xor strings?? Pin
Christian Graus16-Dec-02 1:09
protectorChristian Graus16-Dec-02 1:09 
GeneralRe: xor strings?? Pin
Kannan Kalyanaraman16-Dec-02 1:04
Kannan Kalyanaraman16-Dec-02 1:04 
AnswerRe: xor strings?? Pin
Daniel Turini16-Dec-02 0:22
Daniel Turini16-Dec-02 0:22 
GeneralDynamically Generating Data for a Waveform Graph Control Pin
Matthew Alan Gray15-Dec-02 16:27
sussMatthew Alan Gray15-Dec-02 16:27 

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.