1

Closed

WinXP problems after migration from Ribbon.dll to Ribon35.dll

description

In reference to my thread on CodeProject (http://www.codeproject.com/Messages/4476884/WinXP-problems-after-migration-from-Ribbon-dll-to-.aspx), I attach a sample project (VC++2008) that does not work properly on Windows XP. This simple application has only four buttons: all works fine on Windows 7, but on XP none of them works good:
  • ribbonButton1 shows simple MessageBox, which is inactive: I can't even close it:
    Image
  • ribbonButton2 is a drop-down, which has two items: ribbonButton3 and ribbonButton4. Both have OnClick event that should show simple MessageBox. But it doesn't work.
  • Orb menu has one item, which should show another MessageBox, but it does not do.

file attachments

Closed Feb 24 at 6:18 PM by toAtWork
Issue is resolved

comments

adriancs wrote Feb 6 at 12:06 AM

Hi, I have downloaded the project.... but... I'm not familiar with C++. So, not much I can guide you on this.
I do have test the ribbon35.DLL in XP (even in SP2). It runs as normal. MessageBox is displayed properly.
I'm not sure what is happening in your case.

adriancs wrote Feb 6 at 12:18 AM

Uploaded sample project of ribbon in C# that runs on XP.

toAtWork wrote Feb 6 at 6:26 AM

Fix for modal dialogs (e.g. MessageBox):
http://officeribbon.codeplex.com/discussions/277409

For non-modal dialogs I still have no idea...

mpower1985 wrote Feb 8 at 10:54 PM

@adriancs: if you change only one line in your code:
public partial class Form1 : Form
to:
public partial class Form1 : RibbonForm
you'll get the same problems that I have.

Happily toAtWork suggestions seems to work like charm ;)