PDA

View Full Version : _WinSubEnableControl cannot disable buttons.



slumber
02-10-2010, 09:52 PM
Hi,

I'm using InstallShield 2008 Premier Edition.

Would like to know what's the different between _WinSubEnableControl and EnableWindow? How comes some of the OS doesn't work with _WinSubEnableControl API? E.g. use _WinSubEnableControl to disable the button, but somehow it doesn't works in Windows Server 2008 R1 (64-bit).

If this is the case. May I know whether _WinSubEnableControl works well in Windows Server 2003 (32-bit or 64-bit) or which OS that doesn't work well with it? 32-bit and 64-bit OS will do.

Finally, is it using EnableWindow is the best solution to solve this issue?

Thank you.