-
Mar 2nd, 2013, 06:03 PM
#1
Thread Starter
Addicted Member
Minimize animation lost?
Ok, my problem is I have a form with the 'FormBorderStyle' property set to 'none'.
So I made my own minimize/maximize/exit buttons, but the problem is when I click my minimize button, there is no animation when minimizing the form.
Is there any way I can have that minimize animation in my form now?
-
Mar 2nd, 2013, 07:29 PM
#2
Re: Minimize animation lost?
Nope. The window requires the frame to apply theme related stuff, one item of which is animation. There are ways to provide a minimal frame or make the frame and window one item if you're prepared to wrestle with a few potential inconsistencies and the Windows API.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
Mar 3rd, 2013, 04:28 PM
#3
Thread Starter
Addicted Member
Re: Minimize animation lost?
thought so, what's even worse, when I click my program on the taskbar, if it's windowed, it won't minimize.
-
Mar 3rd, 2013, 05:09 PM
#4
Re: Minimize animation lost?
Instead of setting the border style to None set it to Fixed Single or Fixed Dialog. Make sure the Caption is an empty string and set the ControlBox property to False. It still wont animate but at least it will minimize when you click on the taskbar button.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|