Re: [ADVANCED-DOTNET] Windows Forms--working with Images

2004-12-15 Thread David Thompson
The reason is, that I'm going to be adding it to a larger product that will own this form, the image will be built by another unmanaged thread (written in C) that will call invoke when it is finished to update the display, and the class will be encapsulated in an unmanaged C++ class. Mixing t

Re: [ADVANCED-DOTNET] Windows Forms--working with Images

2004-12-15 Thread J. Merrill
Why do you have to do that? If you're working in Windows Forms and .NET, you can just compile the ScrollImage namespace and use it as is... At 05:00 PM 12/15/2004, David Thompson wrote >Thanks Ian, > >That was exactly what I was looking for. Now to just rewrite it in >C++ (since the rest of my a

Re: [ADVANCED-DOTNET] Windows Forms--working with Images

2004-12-15 Thread David Thompson
Thanks Ian, That was exactly what I was looking for. Now to just rewrite it in C++ (since the rest of my app is already written that way. Boy I wish there was a C# to C++ generator available. David -- . David L. Thompson

Re: [ADVANCED-DOTNET] Windows Forms--working with Images

2004-12-15 Thread Ian Griffiths
David Thompson wrote: I need to find an example of making a window with a menu bar that just displays an image. The Image must resize if the window is resized and also provide scrolling of the image at 100% if an option is turned on in the menu. I've written one - see the end of this message. Is t

Re: [ADVANCED-DOTNET] Windows Forms--working with Images

2004-12-15 Thread Fabian Schmied
I've been working a quite a bit with windows forms and have gotten stuck. I've got Ian's ".NET Windows Forms" book and have used it a lot, but I need to find an example of making a window with a menu bar that just displays an image. The Image must resize if the window is resized and also provide sc