NO

Sign in to follow this  
  • entries
    145
  • comments
    222
  • views
    138280

Tales of indisputable interest in the managed worl

Sign in to follow this  
Tape_Worm

19 views

Soooo after fucking with my computer and getting it back up and running, I started testing Gorgon to see if the recent hardware problems were causing my issues when switching to full screen mode and alt+tabbing from full screen (It appears that way as now everything just works as it should).

I did however notice something was a little off. And really I've noticed this before. When I switched from fullscreen, my system menu for the application would disappear.

So, I did what anyone who's not very bright would do: I stepped into it with the debugger, I tried a bunch of things in the immediate mode to restore the system menu, but nothing worked. Until I hid and re-displayed the window. Then everything was fine. So I implemented this in the mode reset code, it will now hide it before making modifications to the window (changing border size, topmost, etc...), and then redisplay it when it's done. Works fine.

So yeah, if you ever find your window is behaving strangely after a switch from fullscreen to windowed mode, hide it and show it.

You'd think I'd know this shit by now.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now