styleMask and GUI update

Hi everybody

I have the following problem. I’ve added the following code to the open event of a window to have a transparent title bar:

Me.NSWindowMBS.styleMask = Me.NSWindowMBS.styleMask + NSWindowMBS.NSFullSizeContentViewWindowMask
Me.NSWindowMBS.titleVisibility = NSWindowMBS.NSWindowTitleHidden
Me.NSWindowMBS.titlebarAppearsTransparent = True

Everything works fine, except that a progress bar that I use to show progress from code that is run in a thread does not update anymore. It’s not a MBS problem, the same effect shows when I use declares. Any idea on how to deal with this problem?

Thanks, Guido