Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / August 2006

Tip: Looking for answers? Try searching our database.

Listbox with buttons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kiran.inbng@gmail.com - 25 Aug 2006 04:20 GMT
Hi All,

Iam trying to create a listbox with buttons/tree control as items in a
listbox(ownerdrawvariable) and iam having some problems.Below are my
questions,

1.Is there a equivavalent of DrawFrameControl(a win32 api) in C#.If not
how can button be created in the item rect
2.How to a create tree control or any other control inside a listbox
3.What will be the state of the item when drawitem handler is called
for the first time.I do not want to create the controls inside the
listbox on every call to drawitem.(iam looking for something similar to
ODA_DRAWENTIRE itemaction bit of DRAWITEMSTRUCT -- win32)

Thanks in advance,
kiran
Claes Bergefall - 25 Aug 2006 15:06 GMT
A .NET version of DrawFrameControl is available in the ControlPaint class
Can't help you with the other two questions though

   /claes

> Hi All,
>
[quoted text clipped - 12 lines]
> Thanks in advance,
> kiran

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.