Software Support > SK Jukebox

runtime error 384

(1/2) > >>

Beowolf:
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.

SalmonKing:
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).

Beowolf:
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.

SalmonKing:

--- Quote from: Beowolf on March 10, 2006, 12:15:14 pm ---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.

--- End quote ---

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).

Beowolf:
Would forcing the window state to normal before resizing work?

Force it to normal
Resize/move it
Restore the previous state

Navigation

[0] Message Index

[#] Next page

Go to full version