Page 1 of 1

My own Mini,Maximize button

PostPosted: Sat Jan 14, 2017 7:31 am
by Dudus
Hello,

can you help me how to make my own minimize and maximize buttuns if I do not want to use windows Standard Window?
I need as like this one:
Image

Thank you!
D

Re: My own Mini,Maximize button

PostPosted: Sat Jan 14, 2017 8:16 am
by PaulTomo
You could just Turn Off the Title Bar under the Book Properties / Window / Window Style option and create your very own title bar that appears along the top of the publication using the page style and images you want as the buttons and then use the NeoBook commands that relate to each of them in turn to perform the actions you want them to do, as follows:

Close Publication
Code: Select all
Exit "" ""

Minimize Window
Code: Select all
SetVar "[WindowState]" "Minimized"

Maximize Window
Code: Select all
If "[WindowState]" "=" "Normal"
    SetVar "[WindowState]" "Maximized"
Else
    SetVar "[WindowState]" "Normal"
Endif

There is probably some scrip out there to change windows buttons but it won't be that easy to add or give you exactly the end result that you want to see on screen as this simple solution will.