* * *

Author Topic: [solved] Windows (10?) snap assist support  (Read 1028 times)

ps

  • New member
  • *
  • Posts: 40
[solved] Windows (10?) snap assist support
« on: October 21, 2016, 07:24:19 pm »
It's required some action or settings on TForm to respond on windows 10 "snap assist"?

I don't see my application in list (even I don't see lazarus IDE).

Lazarus 1.6 fpc 3.0.0
« Last Edit: November 17, 2016, 04:40:49 pm by ps »
IDE:  Lazarus 1.8 RC3/Trunk, Delphi XE OS:Windows 10, Ubuntu

ASerge

  • Sr. Member
  • ****
  • Posts: 366
Re: Windows (10?) snap assist support
« Reply #1 on: October 21, 2016, 09:29:56 pm »
It's required some action or settings on TForm to respond on windows 10 "snap assist"?
Normal OnResize event.
Quote
I don't see my application in list (even I don't see lazarus IDE).
What's for the list?

ps

  • New member
  • *
  • Posts: 40
Re: Windows (10?) snap assist support
« Reply #2 on: November 17, 2016, 04:39:49 pm »
I found solution. This enable correct app behavior under windows. So all works correctly:
- window shake function
- there is minimize animation (without this window only disappear)
- and of course app is present while snap assist

Code: Pascal  [Select]
  1.   {$IFDEF WINDOWS}
  2.   {$Warnings OFF}
  3.     Application.MainFormOnTaskBar := True;
  4.   {$Warnings ON}
  5.   {$ENDIF}
  6.  
IDE:  Lazarus 1.8 RC3/Trunk, Delphi XE OS:Windows 10, Ubuntu

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus