![]() |
|
|
#1 (permalink) |
|
Teğmen
![]() ![]() |
Uses
ShellApi; Var stray:NOTIFYICONDATA; procedure TForm1.FormCreate(Sender: TObject); begin SetWindowLong(Application.Handle GWL_EXSTYLE WS_EX_TOOLWINDOW);with stray do begin cbsize:=sizeof(stray); wnd:=form1.handle; hicon:=Application.icon.Handle; uID:=0; sztip:='Bekçi Çalışıyor'; uflags:=7; uCallBackMessage:=$200;//icon üzerine tıklama kontrolu için end; Shell_NotifyIcon(0 @stray);end; //popup menu için //o zman forma popup componenti ekleyip aşağıdakilerini uygulayın... //Shell_NotifyIcon(2 @stray);//Gizlemek//Shell_NotifyIcon(1 @stray);//Yenilemek//$205 farenin sağ tuşuna basılması procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X ![]() Y: Integer); var nokta:TPoint; begin getCursorPos(nokta); if (x=$205) then PopupMenu1.Popup(nokta.x nokta.y);end; |
|
|
|
![]() |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | UslanmaM | Cevaplar | Son Mesaj |
| Fal Programı | ABYSS | Burçlar ve Fal | 2 | 03-18-2008 01:28 PM |
