Jump to content

Tray Iconunu Nasıl Değiştirebilirim?


0mh3r
 Share

Recommended Posts

[b]Arkadaşlar ben Projemin Iconudu Deyiştirmek İstiyorum Ve bunu İçin Şöyle Bir Kod Kullandım[/b]

if (HTray ~= 0) then

bIconAdded = Tray.SetIcon(HTray, "AutoPlay\\Icons\\globe.ico", "0mh3r");
bBalloon = Tray.ShowBalloonTip(HTray, "Uyarı", "Icon Deyiştirildi.", 5000, NIIF_INFO);
if (bIconAdded == false) then

Dialog.Message("Hata", "İşlem Gerçekleştirelemedi.", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);

end

end


[b]fakat Kalıcı Olmuyor Lütfen Yardım Edermisiniz.[/b]
Link to comment
Share on other sites

Deyiştirildi hı peki :lol:
Projenin ikonunu değiştirmek için Settings>Custom İcon bölümü var buradan değiştirebilirsin.Bu senin kullandığın kod sistem tepsisinde çıkan bilgi kutucuğunun kodu.Eğer tray diyorsan şunu bir dene;
[quote]if (HTray ~= 0) then

bIconAdded = Tray.SetIcon(HTray, "AutoPlay\\Icons\\globe.ico", "Tray Action Plugin Demo");

if (bIconAdded == false) then

Dialog.Message("Notice", "Failed to add icon to tray", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);

end

end[/quote]

Edited by pilgetir
Link to comment
Share on other sites

Baba_ sanırım ondan bahsetmiyor hani bazı programlar örn antivirüs programları güncelleme yaparken sistem tepsisindeki ikonu değişiyor ya geçici bir şey istiyor sanıyorum

Sanırım istediğin böyle bir şey yanlız tray plugini kullanman gerek;

http://hotfile.com/dl/135521398/547f2ca/kon_Deitirme__PLGETR.apz.html

Edited by pilgetir
Link to comment
Share on other sites

şöyle yapabilrsin mantık olarak..

bir ini dosyası oluştur sonra ikon değişince o ini dosyasına yazdır ikonun adını açılışta ise ini dosyasından okut adını ve tray da o iconu göster....

Edited by Kazım
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...