Page 1 of 1

Multipage custom shaped windows

PostPosted: Sun Nov 02, 2014 6:53 am
by HPW
Hello,

Inspired from the discussion here:
viewtopic.php?f=1&t=20753

We have yet the Option to set the Windows Region by using the 'Custom shaped window' Setup.
Not sure if it is possible to exchange the Region-Definition by code. (SetWindowRgn API)
So what about a new script-command:

SetBackgroundShape "ShapeFile" "ShapeTransColor" (TransColor with Option: Default)

So changing that during rutime in page-Setup would allow multishape apps.

Regards

Re: Multipage custom shaped windows

PostPosted: Mon Nov 03, 2014 10:17 am
by Neosoft Support
Interesting idea. I will add it the the list.

Re: Multipage custom shaped windows

PostPosted: Tue Nov 04, 2014 1:50 pm
by Garic
ksSetWindowMask "Mask.bmp"
By default in a mask white colour (255,255,255) as the transparent is used.
You can impose a mask in real time.
The command is in a plug-in ksFunctions.

Image

Image

Re: Multipage custom shaped windows

PostPosted: Tue Nov 04, 2014 2:39 pm
by Garic

Re: Multipage custom shaped windows

PostPosted: Wed Nov 05, 2014 10:49 am
by Neosoft Support
Very cool!

Re: Multipage custom shaped windows

PostPosted: Wed Nov 05, 2014 11:54 am
by David de Argentina
Very nice sample !

Are there any way to be able move the window ?

Thanks in advance,
David de Argentina

Re: Multipage custom shaped windows

PostPosted: Wed Nov 05, 2014 12:18 pm
by HPW
Nice, so we see the proof of conzept.
When it is possible it could be done with a new command in future versions.

Regards

Re: Multipage custom shaped windows

PostPosted: Wed Nov 05, 2014 12:36 pm
by Garic
David de Argentina wrote:Are there any way to be able move the window ?

Yes, is
Initially (in properties of a window) clean the heading panel.
.......................................................................
The mask as can be imposed and on the custom window by means of a plug-in zmFunctions

Re: Multipage custom shaped windows

PostPosted: Wed Nov 05, 2014 3:46 pm
by stu
Quite impressive, really cool indeed... Thanks for the sample and the plugin!

Re: Multipage custom shaped windows

PostPosted: Thu Nov 06, 2014 9:35 am
by Garic
Unfortunately the plug-in uses the Russian interface, I am going to make all and the English version,
but I catastrophically do not have time, but in the near future I will necessarily translate a plug-in into English.

Re: Multipage custom shaped windows

PostPosted: Thu Nov 06, 2014 9:44 am
by JimmyC
That would be great!! I am definitely interested in purchasing an English version of the plugin. Thank you. JimC