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.microsoft.com/en-us/library/system.windows.forms.dataformats.aspx http://msdn2.microsoft.com/en-us/library/system.windows.forms.dataformats.format.aspx hth, franz -----Ursprüngliche Nachricht----- Von: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Im Auftrag von John Whattam Gesendet: Donnerstag, 11. Mai 2006 08:26 An: [email protected] Betreff: Re: [ADVANCED-DOTNET] What is wFormat member of OleUIConvert Structure... 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 dialog was populated with entries for: Bitmap Image Paintbrush Picture Picture (Device Independent Bitmap) I then searched for Word and found the corresponding entries to be a csv of the following values: MSWordDoc,WordDocument,Word.Document.6,1 This makes me even more confused, how do I pass the appropriate wFormat value to the dialog and what do I do after the dialog returns? =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
