You can create a window using whatever class name you know exists, but you
will still have to wrap it with a UserControl so you can place it in a form.
So you will have to rewrite the functionality that comctl already has, and
redistribute your ocx instead.
Alejandro.
Xonix escribi en mensaje ...
Quote:
>I was running a winview sample application from Dan Applemans book on the
>ListView
>control in my form and the listview of the access database window. My form
>ListView
>class returned "ListViewWndClass" and Access returned "SysListView32". The
>question
>is: can I somehow load the SysListView32 class instead of the comctl
control
>? If it's possible
>then I would not need to distribute comctl to clients. Please post sample
>code how to load custom
>controls by class. Thanks