Delphi - Windows Aero resources

前端 未结 3 1342
误落风尘
误落风尘 2021-01-01 02:55

Anyone have any good resources for Delphi and Windows Aero on 7 or Vista?

We\'re just about to add Windows 7 to our company and want to make sure that our in-house a

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-01 03:33

    We include our own manifest resource because, as far as I am aware, Delphi doesn't include the new manifest additions for Windows 7 (and Vista?). With help from http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx and here and here:

    Create a file "mymanifest.rc" with the single line

    1 24 "my.manifest"
    

    and create a file as below called my.manifest

    
    
      
      
        
          
        
      
      
        
          
            
            
        
      
      
        
          
          
          
          
        
      
    
    

    Then add the mymanifest.rc to your project and turn off the 'enable runtime themes' option as this does the same thing (but less flexible). The 'requestedExecutionLevel' section can be altered to suit the UAC needs of the app.

    Works for us.

提交回复
热议问题