Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.03.26;
Скачать: CL | DM;

Вниз

Control на рабочем столе   Найти похожие ветки 

 
Rommel ©   (2006-01-06 23:57) [0]

Как поместиить Сомпанент или форму на рабочий стол вместе с иконками


 
alex-drob ©   (2006-01-07 00:15) [1]

setparent


 
Vovik   (2006-01-09 20:33) [2]

Приготовление:
Сначала устанавливаешь Left и Top компонента, которые
будут у него на десктопе.

1) Получаешь хендл десктопа (windows.GetDesktopWindow)
                                              ||
2) <компонент>.SetParent ( этот  V  хендл  )

                   *** ПРИМЕЧАНИЕ ***
Обработчики событий для этого компонента вроде бы

                      Т Е Р Я Ю Т С Я !


 
jack128 ©   (2006-01-10 00:28) [3]

alex-drob ©   (07.01.06 0:15) [1]
Remarks

An application can use the SetParent function to set the parent window of a pop-up, overlapped, or child window. The new parent window and the child window must belong to the same application.


 
Ivan_123   (2006-01-10 02:24) [4]

function GetDesktopListViewHandle: THandle;
var
 S: string;
begin
 Result := FindWindow("ProgMan", nil);
 Result := GetWindow(Result, GW_CHILD);
 Result := GetWindow(Result, GW_CHILD);
 SetLength(S, 40);
 GetClassName(Result, PChar(S), 39);
 if PChar(S) <> "SysListView32" then
   Result := 0;
end;

//--------------------------------------------
//используем WinAPI а не метод контрола и всё работает
SetParent(Form1.handle,GetDesktopListViewHandle)



Страницы: 1 вся ветка

Текущий архив: 2006.03.26;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.045 c
1-1140468635
Blitz
2006-02-20 23:50
2006.03.26
Delphi &amp; Assembler


11-1123319382
azsd
2005-08-06 13:09
2006.03.26
Options of KolToolbar have fix style when mirror form create


2-1141645383
Lexa79
2006-03-06 14:43
2006.03.26
Вопрос


2-1141916211
VitV
2006-03-09 17:56
2006.03.26
Interbase+Delphi7. Связь таблиц.


2-1141986651
1й2ц3у4к5е
2006-03-10 13:30
2006.03.26
Тип Делфи