Mono, Winforms, Tao, and Me

I finally got around to testing FTGL# with Mono on Windows. Didn't require any modification, but there's one oddity ...

  1. C:\Documents and Settings\stephen\My Documents\work\FTGLSharp\sample\bin\Debug>"FTGLSharp Demo.exe"
  2. Opening Font File C:\Windows\Fonts\arial.ttf
  3. Setting 24pt, 72dpi
  4. Done font initialization
  5. sap.ftgl.MainForm, Text: FTGL.OnActivated() called
  6. sap.ftgl.demo.demoControl.forceRefresh()
  7. sap.ftgl.demo.demoControl.OnPaint() called
  8. sap.ftgl.MainForm, Text: FTGL.OnActivated() called
  9. sap.ftgl.demo.demoControl.forceRefresh()
  10. sap.ftgl.demo.demoControl.OnPaint() called
  1. C:\Documents and Settings\stephen\My Documents\work\FTGLSharp\sample\bin\Debug>mono "FTGLSharp Demo.exe"
  2. Opening Font File C:\Windows\Fonts\arial.ttf
  3. Setting 24pt, 72dpi
  4. Done font initialization
  5. sap.ftgl.MainForm, Text: FTGL.OnActivated() called
  6. sap.ftgl.demo.demoControl.forceRefresh()
  7. sap.ftgl.MainForm, Text: FTGL.OnActivated() called
  8. sap.ftgl.demo.demoControl.forceRefresh()

I don't know yet if it's Mono or Me (I'm usually missing some detail ...) but OnPaint() isn't happening when it should if I fill my control with another control

Tags:

Comments

Mono on Windows

That's interesting, if you want to check it into SVN I'll take a look at it on Mac OS X, I'm wondering if your demo is just using some .NET 2.0 Windows Forms features that aren't implemented in the stable releases (unless you're using a build from svn)

Also, get a real shell you patsy :P