SynthMaker

Windowed Gui

Archive · 2010 16 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Jay ·

Hi all heres my attempt at making a Windowed Gui,Inspired by the work of mwvdlee in this thread

Windowed GUI (executable only)

Not quite finished and there is maybe a better way of implementing this!

Drag windows by their top bar, clicking top bar brings window to front

best regards

Edit: first version had an error where the red window would not close 😊 - FIXED and new version uploaded to replace it 😉

labelwhore ·

Very cool indeed. I'd love to see how this will be put to use.

Dj-Grobe ·

great work the only difference with original project is when move windows over the screen, on the project from mwvdlee the windows move really smotth, probably he can hel to us to understand why? 🙂

Smebody think can be possible resize the windows screens?

Dj-Grobe ·

SM crash everytme try create exe.......... very strange !

philter5 ·

hey jay thx a lot for sharing. very nice example 😍

Jay ·

thanks guys

I had said earlier in mwvdlee's thread that his was a lot smoother running than mine!I think mine is maybe a little primitive compared to his one! He has some nice graphical magic up his sleeves! His Photoshop plugins look quite nice also!

I will keep plugging away at this until i get it right but, feel free to have a tweak yourselves! it would be nice to get it running smoother at least! its prolly one of my noob habits that's causing the jittery movement 😉

I don't have any use for this that i can think of atm, lol i have no imagination.

Dj-Grobe wrote: SM crash everytme try create exe.......... very strange !

Hmmm. i haven't tried compiling this myself yet m8! i had better go check it to see if i get crashes! what about any of the rest of you?

Best Regards

MichaelBenjamin ·

about the sluggish behaviour - maybe its the tick 100 to the redraw. but its a nice example. now i finally understood how you can change things to go background/foreground. thank you. someone could emulate windows 3.1 on sm.

labelwhore ·

I tried using a tick 25 instead of a tick 100 on the redraw and that sped things up. I was also able to export as an .exe without a crash on Windows 7 64 bit 🙂

Dj-Grobe ·

I can confirm can create exe under windows 7 32 bits SM version 1.1.6 y contact to malc for see if he can reproduce this possible bug, anyother with Sm 1.1.6 and windows 7 32?

Dj-Grobe ·

fixed after reinstall synthmaker ! : ) Exe compiled.

Think is possible resize windows?

Ithink s not possible, but just asking : )

Jay ·

yeh i was thinking about resizing also DJ Grobe but, i have come to the same conclusion as mwvdlee. it is entirely possible but just a hell of a lot of work and would probably need tailored to every app you needed it for! that said i might just try to make one just for the pure fun of doing so! 🙂

Best Regards

McBarGig ·

Guys I am not seeing what is controlling the Z-Order...I was trying to do that myself and have never got it to work like this...WOW excellent job...Can someone point me to the apparatus that controls the Z-Order..?

Thanks

MichaelBenjamin ·

its just the connection order of the v things afaik, its quite at the surface.

McBarGig ·

HAHA I see...so multiple V Connectors with a selector on the window...Genious, I never thought of doing it that way... Last time I tried this I had a full plate of Yellow spaghetti on my screen...🙂

Now since we're on the topic of Z-Order, is there any easy way of making the controls under the window not respond? In other words we need to determine what the object window is over and shut off the mouse control for anything under it... Currently, my fix for this is akin to chicken wire and duct tape...I make the controls disappear...I mean you can't see them anyways, but with a lot of activity, you could experience clicks and pops in the audio stream so not the most efficient solution by any stretch..

If Malc makes an external DLL call prim, then I would like to try creating external DLL calls that can handle some of this type of stuff..IE: CreatewindowEX, etc..

Anyways, thanks guys, thats a great! Solution..

oddson ·

McBarGig wrote: ...Now since we're on the topic of Z-Order, is there any easy way of making the controls under the window not respond? In other words we need to determine what the object window is over and shut off the mouse control for anything under it...

I can't test right now (not at my SynthMaker machine) but I thought that if you handle the event it doesn't pass to a lower object (which was not always the case and perhaps it still doesn't work that way). So a set of mouse handling event primitives at the lowest V-layer of a window that aren't connected to anything should prevent the mouse event from triggering anything in the lower window...

McBarGig ·

ohhh man!, I really feel dumb now! I never thought of that either...I had a trillion and one connectors and lines coming and going and just a mess...

Thanks Oddson!

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.