warning: i have not used this dialog myself, so this might be completely wrong
and of no help...
...but, i think the 'wFormat' is a clipboard format. check out the
"DataFormats"-class (especially the "DataFormats.GetFormat"-method) and the
"DataFormats.Format"-class in msdn
http://msdn2.micros
Its me again,
The application I use for testing is Paintbrush. When I searched through
the registry for the classid of the paintbrush embedded object, I found
the following key:
\CLASSID\{Guid For Class id}\Conversion\Readable\Main\ with a default
value of 8. So I then set wParam to 8 and the dialo
Hi Everyone,
I've been trying to implement the Ole Convert dialog for my extended
richtextbox. This dialog allows the user to convert an embedded object or
change how it is activated. One of the members of the structure is wFormat
which is the data format of the object to be converted or activated.
Could someone explain if this scenario below is allowed? It's not mine -
I saw it described as an issue and it wasn't clear to me that it is in
fact supported.
A managed code client is attempting to call a COM object that's also
managed code. So the managed COM object is instantiated and a CCW is
Mattias - Notwithstanding the fact that I figured it out almost as soon as I
sent the email, your help is appreciated!
Jason
> -Original Message-
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Mattias Sjögren
> Sent: Wednesday, May 10, 2006
Jason,
public class MyPersistanceManager : IPersistanceManager where K
: new()
Mattias
===
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
Please ignore, I am smoking crack. I had it figured out after all….
public class PersistenceManager : IPersistenceManager where K:
new()
{ }
Sorry!
Jason
_
From: Jason Bunting [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 3:38 PM
To: 'ADVANCED-DOTNET@DISCUSS.DEVELO
Here is the situation I am facing:
I have an interface, declared like so:
public interface IPersistenceManager
{
...
}
I then have a generic class definition:
public class MyPersistenceManager : IPersistenceManager