----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Dinesh Venugopalan Message 9 in Discussion Hi <o:p> </o:p> In Win32 the most generic way of disabling a control provided it has an associated handle is by the call to SetWindowLong(). <o:p> </o:p> For doing this first make a call to GetWindowLong(). Here the first parameter needs to be handle to the control and the second parameter should be GWL_STYLE. <o:p> </o:p> OR the return value with WS_DISABLED. Then make a call to SetWindowLong(). Here the first parameter will be the handle to the control, second will be GWL_STYLE and the third will be the OR ed value. Hope this helps. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
