Quoting Ehsan Akhgari <[EMAIL PROTECTED]>: <SNIP> > > How can I from within my app > > get a pointer to that third party icon so that I can disable it > > appropriately? > > > > Since data is shown in real time, locking the computer is not an > > option. > > Doesn't the FTP server come with source code? If not, maybe you can get the > source for some servers at sf.net? > > Anyway, the only way that comes to my mind is hooking a DLL into the FTP > server's process, but that is anything but trivial. > > I wish that I had access to the source. Replacing the currently used third party server would take so long and so much paperwork that is not feasible.
I have tried doing some work with doing a FindWindow() on the Shell_TrayWnd and then doing an EnumChildWindows() and even have found a hwnd to a ToolBarWindow32 whose rect() location approximates the location of the icons within the Tray. Now if I could figure out which button or icon in that toolbarwindow is the one I want, maybe I can control it with my code. Thanks for the input and best regards, David Stroupe _______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
