workink with list box in GUI

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2007
Posts: 1
Reputation: javed_PUCIT is an unknown quantity at this point 
Solved Threads: 0
javed_PUCIT javed_PUCIT is offline Offline
Newbie Poster

workink with list box in GUI

 
0
  #1
Jul 8th, 2007
Aslam! Dear I want to draw a line in list box of his own chice by specifing the poit of line. Is it possible? If not then which compnent of GUI is best for this purpose and try to give the solution whith example
Thanks
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 2
Reputation: kailash.kandpal is an unknown quantity at this point 
Solved Threads: 1
kailash.kandpal kailash.kandpal is offline Offline
Newbie Poster

Re: workink with list box in GUI

 
0
  #2
Jul 9th, 2007
ur question is not clear pls give more details
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,493
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 520
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: workink with list box in GUI

 
0
  #3
Jul 9th, 2007
You may be able to add the lines as images to the items collection and use the DisplayMember property to point to those images. If not, then you probably need to work with ListView and the ImageList class.
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 275
Reputation: f1 fan is an unknown quantity at this point 
Solved Threads: 11
f1 fan f1 fan is offline Offline
Posting Whiz in Training

Re: workink with list box in GUI

 
0
  #4
Jul 10th, 2007
For real simplicity just add a string to the items collection with dashes in it "-------" or underscores "________"

Not nice but simple.

Otherwise you will need to use the GDI tools and the graphics object of the listbox at run time and override the onpaint event.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC