home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPBlue PPC client release 0.0.4
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Flipit" data-source="post: 44925" data-attributes="member: 11608"><p>Well I've created a custom listbox...</p><p></p><p>All thanks to OpenNetCF.org, good tutorial on creating custom forms for CF.</p><p></p><p>Anyway I now have a CustomListbox derivered from an OwnerDrawnListbox Base Class and I've basicly replicated the setup of the TreeView since this a windows form and they are much alike. </p><p></p><p>Everyhting work fine except for the draw event, I can't figure out how to evoke the (DrawItemEventArgs e ) from the Custom class as well as the OnPaint(PaintEventArgs e) from the Form. It seems it doesn't get invoked when the form is created, odd since on a test project it work fine... anyway at the edge of my C#</p><p></p><p>At the moment the event doen't fire so the listbox never get drawn. </p><p></p><p>Mr S. Any suggestions.. do you want the sln. Maybe you know more abuot this then I. :wink: </p><p></p><p>I'll keep trying, but it doesn't look promising.</p><p></p><p>Flipit</p></blockquote><p></p>
[QUOTE="Flipit, post: 44925, member: 11608"] Well I've created a custom listbox... All thanks to OpenNetCF.org, good tutorial on creating custom forms for CF. Anyway I now have a CustomListbox derivered from an OwnerDrawnListbox Base Class and I've basicly replicated the setup of the TreeView since this a windows form and they are much alike. Everyhting work fine except for the draw event, I can't figure out how to evoke the (DrawItemEventArgs e ) from the Custom class as well as the OnPaint(PaintEventArgs e) from the Form. It seems it doesn't get invoked when the form is created, odd since on a test project it work fine... anyway at the edge of my C# At the moment the event doen't fire so the listbox never get drawn. Mr S. Any suggestions.. do you want the sln. Maybe you know more abuot this then I. :wink: I'll keep trying, but it doesn't look promising. Flipit [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPBlue PPC client release 0.0.4
Contact us
RSS
Top
Bottom