Author Topic: Mandelbrot Landscape  (Read 3695 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
Mandelbrot Landscape
« on: August 12, 2014, 10:46:40 AM »
Hi,
« Last Edit: January 28, 2015, 03:43:41 AM by Peter »

Mike Lobanovsky

  • Guest
Re: Mandelbrot Landscape
« Reply #1 on: August 12, 2014, 12:25:21 PM »
Looks nice too, Peter.

And thanks for the pictures. Your messages look much more attractive with them.

JRS

  • Guest
Re: Mandelbrot Landscape
« Reply #2 on: August 12, 2014, 01:37:59 PM »
Quote
And thanks for the pictures. Your messages look much more attractive with them.

+10

Haim

  • Guest
Re: Mandelbrot Landscape
« Reply #3 on: August 12, 2014, 10:02:49 PM »
Thanks Peter for this great piec of code!

asm.inc is becoming richer every week.

I noticed that in some cases the window can be resized and in some  of your samples the window size is fixed.
As far as I could see, the window function of asm.inc does not accept a window styles parameter.
How do you control window styles?


Peter

  • Guest
Re: Mandelbrot Landscape
« Reply #4 on: August 13, 2014, 01:53:51 AM »
Quote
the window function of asm.inc does not accept a window styles parameter.
Hello Haim,

Welcome back.
Thanks for your interest.

What are "styles parameter" here?   

Haim

  • Guest
Re: Mandelbrot Landscape
« Reply #5 on: August 13, 2014, 02:34:43 AM »
Hi Peter,
I have not been away, just was not active.
Your asm.inc interests me very much.

window styles are the values of the dwstyles parameter that are passed to CreateWindowex function. they determine various window attributes, including minimize. maximize boxes, caption bar, sysmenu etc.
My question was, how to make a window that can be resized and a window which has a fixed predetermined size.
Thanks,

Mike Lobanovsky

  • Guest
Re: Mandelbrot Landscape
« Reply #6 on: August 13, 2014, 08:58:05 AM »
Hi Haim,

Currently there seems to be no option to switch between fixed-size and resizable window styles in Peter's modules. Nor is there such an option provided at window creation time.

Peter has two versions of precompiled DLL's, one for resizable windows, and the other one, for fixed. Each time he supplies his submissions with a corresponding DLL.

I think Peter could use calls to
Code: [Select]
SetWindowLong hWnd, GWL_STYLE, &H14CF0000 ' resizableand
Code: [Select]
SetWindowLong hWnd, GWL_STYLE, &H14CA0000 ' fixed-sizeto change the styles once his main window is created. He could add a WinStyle RESIZABLE | FIXED function to his DLL too to let the user decide which style they want for their code if they use his DLL.

But there is practically no chance for that. Peter hates other people's advice and mine in particular, therefore you will have to continue switching the two DLL's to the day you die.
« Last Edit: August 14, 2014, 12:37:39 AM by Mike Lobanovsky »

Peter

  • Guest
Re: Mandelbrot Landscape
« Reply #7 on: August 13, 2014, 09:39:25 AM »
Quote
therefore you will have to continue switching the two DLL's to the day you die.
is right!  ;D

what about an own window ?
is it that difficult! head up and let's go

Mike Lobanovsky

  • Guest
Re: Mandelbrot Landscape
« Reply #8 on: August 13, 2014, 09:58:55 AM »
Quote
what about an own window ? is it that difficult!

No, it isn't. Neither writing own code nor messin' around with somebody else's is difficult for me. In fact, it is my pleasure. See your ASM.DLL overridden and suppressed in my Julia Rings script.

Who knows, one day I might even get interested in spending a few hours to reverse engineer your entire ASM.DLL and publish its reconstructed OxygenBasic sources on this forum for Haim and John to enjoy.

Wanna try?

JRS

  • Guest
Re: Mandelbrot Landscape
« Reply #9 on: August 13, 2014, 10:06:46 AM »
I'm having a problem understanding how someone so talented, generous and an all around good guy can be so stingy with his source. There are too many people getting burnt using closed source tools that have no sustainable support resource behind them. (just posted wet dreams)


Haim

  • Guest
Re: Mandelbrot Landscape
« Reply #10 on: August 14, 2014, 12:19:56 AM »
Thank you all for responding.
I was not aware of the dll switching :-[
Seeing the sources for those dll would be very instructive for me, as I am just a humble hobbyist programmer.
Thank you folks for all your contributions.

Mike Lobanovsky

  • Guest
Re: Mandelbrot Landscape
« Reply #11 on: August 14, 2014, 12:37:10 AM »
Sorry Haim,

But Peter won't let you see the sources. He doesn't disclose them. He keeps them in one of his deepest closets behind seven magic locks.