ericchubb 0 Newbie Poster

Hi there

Apologies if this is in the wrong forum - it's both a C# and C++ question. I'm working on a Win32 document localisation application which employs a plugin based architecture to enable easy addition of extra file formats. The plugins are implemented in C#/.NET as class libraries, and are invoked using COM. For the most part, this approach works well and is flexible.

However, in certain scenarios we want to present error messages in modal System.Windows.Forms.MessageBox messageboxes when our class libraries are parsing files, but we can't make the messageboxes fully modal as the library code has no parent window to "block" as such, and the UI code is all implemented on the Win32 side. Any ideas how I'd go about this?

Thanks

Eric

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.