PC Review


Reply
Thread Tools Rate Thread

custom list view control

 
 
coder
Guest
Posts: n/a
 
      19th Aug 2009
Hi, we are developing an app for WM6 pro with CF 3.5, we need to create some
custom controls for our UI, one of which will be a custom list view control.

We believe there are 2 ways
1) Inherit from system.windows.forms.Control and implement one
2) Create a native control in C++ and use a manager wrapper to access it.

Is the native method more efficient or does it not make much difference.
Any links how to do would be useful




__________ Information from ESET Smart Security, version of virus signature database 4348 (20090819) __________

The message was checked by ESET Smart Security.

http://www.eset.com




 
Reply With Quote
 
 
 
 
Christopher Fairbairn [MVP]
Guest
Posts: n/a
 
      20th Aug 2009
Hi,

"coder" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Is the native method more efficient or does it not make much difference.
> Any links how to do would be useful


As with anything the true answer is "it depends".

You have not really provided enough detail about your particular scenario to
get a more precise answer.

Having said that for general GUI type custom controls I generally so no
reason (performance penality etc) for not writing these in .NET CF. I have
written a number of custom controls where i've written a .NET CF version,
and then ported to native code or visa versa and not noticed anything too
significant (or without available solutions).

Obviously writing a control in .NET CF limits its usage to .NET based
applications, but if you're controls are only intended for internal use
within your application, this will most likely not be a concern.

Hope this helps,
Christopher Fairbairn


 
Reply With Quote
 
Shoi Kok How
Guest
Posts: n/a
 
      8th Oct 2009
On Aug 20, 10:44*am, "Christopher Fairbairn [MVP]"
<christop...@christec.co.nz> wrote:
> Hi,
>
> "coder" <cod...@hotmail.com> wrote in message
>
> news:%(E-Mail Removed)...
>
> > Is the native method more efficient or does it not make much difference..
> > Any links how to do would be useful

>
> As with anything the true answer is "it depends".
>
> You have not really provided enough detail about your particular scenarioto
> get a more precise answer.
>
> Having said that for general GUI type custom controls I generally so no
> reason (performance penality etc) for not writing these in .NET CF. *I have
> written a number of custom controls where i've written a .NET CF version,
> and then ported to native code or visa versa and not noticed anything too
> significant (or without available solutions).
>
> Obviously writing a control in .NET CF limits its usage to .NET based
> applications, but if you're controls are only intended for internal use
> within your application, this will most likely not be a concern.
>
> Hope this helps,
> Christopher Fairbairn



Hi Christopher Fairbairn,
You had mentioned that you had ported custom control from .Net CF to
native code and visa versa. May I know how this can be done? I had
some custom control written in native code and is compiled into .lib
file. Is that possible to use in .Net CF app?

Thank you.

regards,
Sean Shoi
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
web browser control - how to list files in list view? =?Utf-8?B?UmljaA==?= Microsoft C# .NET 0 27th Sep 2007 04:25 PM
Outlook View Control embedded in custom control tanutatu@hotmail.com Microsoft Outlook Form Programming 1 8th Nov 2006 11:41 AM
Outlook View Control embedded in custom control tanutatu@hotmail.com Microsoft Outlook 1 8th Nov 2006 11:41 AM
Tree View/List View Control Bug dilipn123@gmail.com Microsoft Dot NET Compact Framework 1 31st May 2005 07:43 AM
Custom Drawing in a list view Etan Bukiet Microsoft Dot NET Framework Forms 1 29th Jul 2004 01:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 PM.