Click here to Skip to main content
15,922,145 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting Shell Tray Info In C#? Pin
Giorgi Dalakishvili16-Sep-08 7:56
mentorGiorgi Dalakishvili16-Sep-08 7:56 
GeneralRe: Getting Shell Tray Info In C#? Pin
Abydosgater16-Sep-08 10:21
Abydosgater16-Sep-08 10:21 
GeneralRe: Getting Shell Tray Info In C#? Pin
Giorgi Dalakishvili16-Sep-08 10:34
mentorGiorgi Dalakishvili16-Sep-08 10:34 
GeneralRe: Getting Shell Tray Info In C#? Pin
Abydosgater20-Sep-08 10:22
Abydosgater20-Sep-08 10:22 
GeneralRe: Getting Shell Tray Info In C#? Pin
Giorgi Dalakishvili20-Sep-08 10:33
mentorGiorgi Dalakishvili20-Sep-08 10:33 
GeneralRe: Getting Shell Tray Info In C#? Pin
Abydosgater20-Sep-08 11:31
Abydosgater20-Sep-08 11:31 
GeneralRe: Getting Shell Tray Info In C#? Pin
Giorgi Dalakishvili20-Sep-08 11:37
mentorGiorgi Dalakishvili20-Sep-08 11:37 
GeneralRe: Getting Shell Tray Info In C#? Pin
Abydosgater20-Sep-08 12:07
Abydosgater20-Sep-08 12:07 
Thank you for your interest it is extremely appriciated.

From what i can tell the next step is to get a count of the icons.
To do this i know i must send a message to the window with SendMessage().

I tried something along the lines of:
IntPtr intPrtShellTrayWnd = FindWindow("ToolbarWindow32", "");
int Count = (int)SendMessage(intPrtShellTrayWnd, TB_GETBUTTON, intPrtShellTrayWnd, "");


But i have no definition of TB_GETBUTTON. Im hoping to get it to result just a count of the icons, then ill worry about looping though the tray icons themselves.

Have you any idea on TB_GETBUTTON?
GeneralRe: Getting Shell Tray Info In C#? Pin
Giorgi Dalakishvili21-Sep-08 3:03
mentorGiorgi Dalakishvili21-Sep-08 3:03 
GeneralRe: Getting Shell Tray Info In C#? Pin
Abydosgater21-Sep-08 7:24
Abydosgater21-Sep-08 7:24 
GeneralRe: Getting Shell Tray Info In C#? Pin
Giorgi Dalakishvili21-Sep-08 8:35
mentorGiorgi Dalakishvili21-Sep-08 8:35 
GeneralRe: Getting Shell Tray Info In C#? Pin
Abydosgater24-Sep-08 4:22
Abydosgater24-Sep-08 4:22 
Questionglobal:: Pin
#realJSOP15-Sep-08 11:06
professional#realJSOP15-Sep-08 11:06 
AnswerRe: global:: Pin
DaveyM6915-Sep-08 11:15
professionalDaveyM6915-Sep-08 11:15 
QuestionUnmanaged DLL injection under Vista x64 Pin
EURaklap15-Sep-08 9:53
EURaklap15-Sep-08 9:53 
AnswerRe: Unmanaged DLL injection under Vista x64 Pin
Giorgi Dalakishvili15-Sep-08 10:03
mentorGiorgi Dalakishvili15-Sep-08 10:03 
QuestionCheck if a field exists in a table before adding it to another table Pin
Twyce15-Sep-08 9:50
Twyce15-Sep-08 9:50 
GeneralRe: Check if a field exists in a table before adding it to another table Pin
Pete O'Hanlon15-Sep-08 9:55
mvePete O'Hanlon15-Sep-08 9:55 
GeneralRe: Check if a field exists in a table before adding it to another table Pin
Twyce15-Sep-08 10:40
Twyce15-Sep-08 10:40 
QuestionCoding SQL Statement with String Literals Pin
polishprogrammer15-Sep-08 8:41
polishprogrammer15-Sep-08 8:41 
GeneralRe: Coding SQL Statement with String Literals Pin
Pete O'Hanlon15-Sep-08 8:59
mvePete O'Hanlon15-Sep-08 8:59 
GeneralRe: Coding SQL Statement with String Literals Pin
polishprogrammer15-Sep-08 9:01
polishprogrammer15-Sep-08 9:01 
GeneralRe: Coding SQL Statement with String Literals Pin
Pete O'Hanlon15-Sep-08 9:08
mvePete O'Hanlon15-Sep-08 9:08 
GeneralRe: Coding SQL Statement with String Literals Pin
polishprogrammer15-Sep-08 9:28
polishprogrammer15-Sep-08 9:28 
GeneralRe: Coding SQL Statement with String Literals Pin
Giorgi Dalakishvili15-Sep-08 9:28
mentorGiorgi Dalakishvili15-Sep-08 9:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.