View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Peter Huang [MSFT] Peter Huang [MSFT] is offline
external usenet poster
 
Posts: 225
Default XP Styles on Excel Form

Hi

It is hard to do that because we need to call the UxTheme api directly
which is commonly written in using C++ code.
Also customize use API in this way in the VBA UserForm may cause unexpected
error, because the VBA form is running in the Excel.exe process, it is not
truely an application.
Here is a document you may take a look.
Using Visual Styles with a Custom Control
Using Windows XP Visual Styles
http://msdn.microsoft.com/library/de...us/dnwxp/html/
xptheming.asp

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.