Build Your Own Arcade Controls Forum
Software Support => SK Jukebox => Topic started by: Beowolf on March 08, 2006, 09:58:18 am
-
Version 2.8.1
Occasionally, and so far unreproducibly, I get runtime error 384 when starting the jukebox. On clicking 'ok' on the error, the jukebox closes.
I reapplied the 2.8.1 update and the program works again.
The error message is: "A form cannot be moved or sized while minimized or maximized"
From limited googling, it seems it means exactly what it says.
-
That must be a result of me adding the functionality where SKJB remembers where it was on the screen. I'll see if there's anything I can do there (i.e. just put in some code where it's putting the main screen back to where it was to skip that error, if it comes up).
-
I think if you just check that the program isn't minimised or maximised before you resize or move it you should avoid the error.
That was a horrible sentence.
-
I think if you just check that the program isn't minimised or maximised before you resize or move it you should avoid the error.
That was a horrible sentence.
Considering the problem is intermittant for you and I've never seen it before and the fact that I'm sizing/moving the window BEFORE restoring the window state already.... it's one of those inexplicable problems I just have to patch up (i.e. by ignoring the error when restoring the position).
-
Would forcing the window state to normal before resizing work?
Force it to normal
Resize/move it
Restore the previous state
-
Would forcing the window state to normal before resizing work?
Force it to normal
Resize/move it
Restore the previous state
Relax, it's already taken care of ;)