Re: WIN32 Window Classes with WIndows Forms
From: Steve Marsden (steve_at_conquest.ltd.uk)
Date: 12/13/04
- Next message: MajorTom: "Re: An established connection was aborted by the software in your host machine"
- Previous message: ian.mcewan_at_atonement.net: "Re: Making a UserControl scroll when host form is resized"
- In reply to: Mattias Sjögren: "Re: WIN32 Window Classes with WIndows Forms"
- Next in thread: Steve Marsden: "Re: WIN32 Window Classes with WIndows Forms"
- Reply: Steve Marsden: "Re: WIN32 Window Classes with WIndows Forms"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Dec 2004 12:42:23 -0000
Mattias
Thanks for the reply. This sounds hopeful.
As a newbie I am OK creating the class derived from Control but nor sure
about overiiding the CreateParams property and returnng the windows class.
Could you gove me a short example.
Thanks
Steve
"Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
news:%23Kx7tEx3EHA.3624@TK2MSFTNGP14.phx.gbl...
> Steve,
>
>>Anyone know if this is possible and how?
>
> Create a class derived from Control, override the CreateParams
> property and use it to return the window class to use.
>
>
>
> Mattias
>
> --
> Mattias Sjögren [MVP] mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.
- Next message: MajorTom: "Re: An established connection was aborted by the software in your host machine"
- Previous message: ian.mcewan_at_atonement.net: "Re: Making a UserControl scroll when host form is resized"
- In reply to: Mattias Sjögren: "Re: WIN32 Window Classes with WIndows Forms"
- Next in thread: Steve Marsden: "Re: WIN32 Window Classes with WIndows Forms"
- Reply: Steve Marsden: "Re: WIN32 Window Classes with WIndows Forms"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|