From: "Damián M. González" Date: 2012-06-15T11:57:41+09:00 Subject: Re: ffi - Popping image on top of the screen That's strange. I have posted a topic in the FXRuby bug report just for the maintainers consideration here: https://github.com/lylejohnson/fxruby/issues/5 But well....you see the answer. Meaby when I have a while I'll write in the mailing list, not too much interested. I want to let you know that I've found a solution: using wxruby side by side(for a while) with FXRuby, and I've had to implement the solution in a strange way.... but I've been around for days trying to make this work, don't want to spend more days asking "why this have to work in this way, there is some better way, etc...". Look: require 'wx' #This is from wxruby just for popup the logo I want Wx::App.run do splash_bitmap = Wx::Bitmap.new('XXX.bmp', Wx::BITMAP_TYPE_BMP) #I had to stablish the timeout on and in 1 ms, doesn't work other way splash = Wx::SplashScreen.new(splash_bitmap, Wx::SPLASH_CENTRE_ON_SCREEN|Wx::SPLASH_TIMEOUT, 1, nil, -1) #Require the FXRuby gem(while showing the logo) require 'Fox16' #Load all the files, classes, etc. #Shut down the wxruby main loop closing the opened first block #Here is when the logo disappear end #Finally start the FXRuby main loop and you have all up and running #people happy cheering in the streets and dancing polska if __FILE__ == $0 FXApp.new('XXX', 'XXX') do |app| #This is personal, I disable the FXRuby threads support because I don't #use it and if you don't use it is better this way because main loop #sleep every 100ms to see if there's any thread waiting to be executed app.disableThreads FXMainWindow.new(app) app.create app.run end end Hope this can help someone else than me, thanks to all who helped. -- Posted via http://www.ruby-forum.com/.