Jump to content
Sign in to follow this  
hgeras

Not showing on taskbar...

Recommended Posts

hgeras

I want to make my program run without showing on the taskbar but tray only...

I have found this in MSDN but in the NOTIFYICONDATA structure asks for an ID and hwnd ... I have the hwnd but what about the id?

Does anyone know how to solve this? Or at least have another way to do this?

Thanx in advance.

C ya

Share this post


Link to post
Share on other sites
hgeras

I tried this :

$test=DllStructCreate("dword;dword;uint;uint;uint;dword;char[64];dword;dword;char[256];uint[2];char[64];dword;dword")
    DllStructSetData($test,2,$GUI)
    DllStructSetData($test,3,@autoitpid)
    $test2=DllCall("shell32.dll","int","shell_notifyicon","int",2,"ptr",DllStructGetPtr($test))

but no luck... it seems that the shell_notify icon is not recognizable... i tried "notifyicon" and sh_notifyicon" too....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×