Problem/Question/Abstract:
How to place a TComboBox on the Windows Taskbar
Answer:
FindWindow('Shell_TrayWnd', nil) will get you the handle of the taskbar, you can then use this handle to manipulate the taskbar. For example, to move a combobox1 to the taskbar do:
{ ... }
Combobox1.Left := 0;
Windows.SetParent(Combobox1.Handle, FindWindow('Shell_TrayWnd', nil));
{ ... }
Nincsenek megjegyzések:
Megjegyzés küldése