At 5/17/2004 12:42 PM, Ehsan Akhgari wrote:
>> I have an app that provides a GUI to the users of some equipment. The >> app is password protected so that the data is visible to users, but >> can not be changed unless one has the appropriate username/passwrod >> combination. I use a third party app that provides an FTP server that >> the system uses. >> This ftp server presents a taskbar icon for access to settings, etc. >> I need to enable/disable this icon to prevent unauthorized users from >> clicking on it and messing with settings, ultimatly breaking the ftp >> server, requiring service calls, etc. How can I from within my app >> get a pointer to that third party icon so that I can disable it >> appropriately? > >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 have a 3rd party app that has a button on a dialog that was a problem. I searched for the dialog name, and then did a GetDescendantWindow("XX") to get the button pointer so I could then disable it.
I don't know if something similar to that could be done to get to the Control bar. I would try Windows Spy to see what I could learn about the taskbar in question.
Phil Daley < AutoDesk > http://www.conknet.com/~p_daley
_______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
