Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
AnswerRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
Luc Pattyn12-Jan-12 8:10
sitebuilderLuc Pattyn12-Jan-12 8:10 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
bigphish12-Jan-12 8:13
bigphish12-Jan-12 8:13 
AnswerRe: Operator '==' cannot be applied to operands of type 'string' and 'int' PinPopular
Luc Pattyn12-Jan-12 8:28
sitebuilderLuc Pattyn12-Jan-12 8:28 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
Pete O'Hanlon12-Jan-12 8:48
mvePete O'Hanlon12-Jan-12 8:48 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
harold aptroot12-Jan-12 8:18
harold aptroot12-Jan-12 8:18 
GeneralMessage Removed Pin
12-Jan-12 10:44
professionalN_tro_P12-Jan-12 10:44 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
harold aptroot12-Jan-12 10:49
harold aptroot12-Jan-12 10:49 
GeneralMessage Removed Pin
12-Jan-12 10:54
professionalN_tro_P12-Jan-12 10:54 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
harold aptroot12-Jan-12 10:56
harold aptroot12-Jan-12 10:56 
AnswerRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
Luc Pattyn12-Jan-12 15:48
sitebuilderLuc Pattyn12-Jan-12 15:48 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
BillWoodruff12-Jan-12 16:14
professionalBillWoodruff12-Jan-12 16:14 
AnswerRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
Abhinav S12-Jan-12 17:48
Abhinav S12-Jan-12 17:48 
AnswerRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
V.12-Jan-12 20:44
professionalV.12-Jan-12 20:44 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
bigphish12-Jan-12 23:03
bigphish12-Jan-12 23:03 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
BobJanova12-Jan-12 23:17
BobJanova12-Jan-12 23:17 
AnswerRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
V.12-Jan-12 23:18
professionalV.12-Jan-12 23:18 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
Wayne Gaylard12-Jan-12 23:19
professionalWayne Gaylard12-Jan-12 23:19 
GeneralRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
bigphish13-Jan-12 8:35
bigphish13-Jan-12 8:35 
AnswerRe: Operator '==' cannot be applied to operands of type 'string' and 'int' Pin
Mc_Topaz13-Jan-12 4:07
Mc_Topaz13-Jan-12 4:07 
QuestionHow to auto scroll listbox on selection? Pin
GubiD12-Jan-12 5:52
GubiD12-Jan-12 5:52 
Hey there,
I am writing an owner drawn listbox control. This is based off of Mike Hankeys Extendable ListBox[^].

I have already modified his code greatly to fit my needs, but I would like the list box to 'auto-center' on the selected item when I click, and the index gets changed. As far as I can tell the only method for doing this is to modify the TopIndex. Is there any way to tell what indexs are viewable so I can just seek up/down a couple and say.. make sure this one is visible as well? Or am I just not looking at this correctly?

And while I am on the subject of scrolling. Any way to make it scroll smoother rather than jumping?

modified 12-Jan-12 12:29pm.

AnswerRe: How to auto scroll listbox on selection? Pin
Luc Pattyn12-Jan-12 6:45
sitebuilderLuc Pattyn12-Jan-12 6:45 
AnswerRe: How to auto scroll listbox on selection? Pin
BobJanova12-Jan-12 23:21
BobJanova12-Jan-12 23:21 
QuestionIs there a way to wrap a file into my dll and then copy it out to a directory during an event? Pin
turbosupramk312-Jan-12 4:45
turbosupramk312-Jan-12 4:45 
AnswerRe: Is there a way to wrap a file into my dll and then copy it out to a directory during an event? Pin
Richard MacCutchan12-Jan-12 4:58
mveRichard MacCutchan12-Jan-12 4:58 
GeneralRe: Is there a way to wrap a file into my dll and then copy it out to a directory during an event? Pin
turbosupramk312-Jan-12 6:29
turbosupramk312-Jan-12 6:29 

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.