Current time: 14.04.2024, 04:44 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
"Прилипание" формы к краям экрана
Author Message
UksusoFF Offline

Posts: 562
Post: #1

Подскажите как сделать "прилипание" формы к крям экрана так как это реализовано в QIP?
Или скажите как называется чтобы можно было поискать, вот видео на котором процеес прилипания
http://www.youtube.com/watch?v=h2lsh3K1rvo


Image: 0_38e1a_676166ca_L.jpg
02.06.2010 01:41
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2

Манипулировать позицией окна. Больше способов не знаю.
Мне больше интересно как в миранде сделали прикрепление окна - его можно "прикрепить" к краю так, что ни одно окно туда не лезет.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
02.06.2010 01:52
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #3

(02.06.2010 01:52)gamecreator Wrote:  Мне больше интересно как в миранде сделали прикрепление окна - его можно "прикрепить" к краю так, что ни одно окно туда не лезет.
дык я про тоже


Image: 0_38e1a_676166ca_L.jpg
02.06.2010 01:56
Visit this user's website Find all posts by this user Quote this message in a reply
Flashback Offline

Posts: 2001
Post: #4

В делфи есть компоненты


Любишь Героев? Читай "Вестник". Уже прочитал его? Читай теплый ламповый блог обо всем и играй в МутноИгры.
02.06.2010 03:06
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #5

(02.06.2010 01:56)UksusoFF Wrote:  дык я про тоже
ты определись. в квипе нет того, что я описал


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
02.06.2010 03:28
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #6

(02.06.2010 03:28)gamecreator Wrote:  ты определись. в квипе нет того, что я описал
а ты видео смотрел? Sm
(02.06.2010 03:06)Flashback Wrote:  В делфи есть компоненты
Поточнее можно?


Image: 0_38e1a_676166ca_L.jpg
(This post was last modified: 02.06.2010 04:01 by UksusoFF.)
02.06.2010 04:01
Visit this user's website Find all posts by this user Quote this message in a reply
Flashback Offline

Posts: 2001
Post: #7

Я юзал FormMagnet


Любишь Героев? Читай "Вестник". Уже прочитал его? Читай теплый ламповый блог обо всем и играй в МутноИгры.
02.06.2010 04:12
Visit this user's website Find all posts by this user Quote this message in a reply
GrayFace Offline
Forum Moderators

Posts: 1233
Post: #8

Я делал свой, он еще может к окнам прилипать, как в Winamp.
02.06.2010 05:59
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #9

(02.06.2010 04:01)UksusoFF Wrote:  а ты видео смотрел? Sm
на квип не похоже. скорей всего левая сборка


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
02.06.2010 09:12
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #10

(02.06.2010 09:12)gamecreator Wrote:  на квип не похоже. скорей всего левая сборка
Официальный QIP 2010, Infium тоже так умееет
(02.06.2010 04:12)Flashback Wrote:  Я юзал FormMagnet
ща поробуем
(02.06.2010 05:59)GrayFace Wrote:  Я делал свой, он еще может к окнам прилипать, как в Winamp.
не поделишься?


Image: 0_38e1a_676166ca_L.jpg
02.06.2010 11:52
Visit this user's website Find all posts by this user Quote this message in a reply
GrayFace Offline
Forum Moderators

Posts: 1233
Post: #11

Поделюсь, только он не умеет прилипать, как в видео.
03.06.2010 06:54
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #12

(02.06.2010 04:12)Flashback Wrote:  Я юзал FormMagnet
магнитицо то магнитицо, но не так как нада...
собственно прилипание можно сделать без лишних телодвижений:
Quote: ScreenSnap := True;
    SnapBuffer := 20;


Image: 0_38e1a_676166ca_L.jpg
03.06.2010 09:58
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #13

предлагаю тебе порыться в исходниках миранды. правда, не помню дефолтная ли это возможность или какого-то плагина


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
03.06.2010 11:18
Find all posts by this user Quote this message in a reply
FBX Offline

Posts: 2235
Post: #14

По-моему в делфи такое можно сделать, просто изменив параметр Align формы. Или это что-то другое? Я видео не смотрел, поэтому хз...
03.06.2010 20:14
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #15

для окна отрезается кусок личного места. другие окна не лезут туда даже при развертывании.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
03.06.2010 22:37
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group