Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. In ATL, Progess Bar look

In ATL, Progess Bar look

Scheduled Pinned Locked Moved ATL / WTL / STL
c++question
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sumit durg
    wrote on last edited by
    #1

    How can i get the look of satus bar as a installation form ( like we see in the installation of any component of MicroSoft progess bar). In the standerd my it is not looking good.

    S 1 Reply Last reply
    0
    • S sumit durg

      How can i get the look of satus bar as a installation form ( like we see in the installation of any component of MicroSoft progess bar). In the standerd my it is not looking good.

      S Offline
      S Offline
      sumit durg
      wrote on last edited by
      #2

      I want smooth XP type status bar, where as it seems to be WIN' 98 status bar. How can i do this.

      S 1 Reply Last reply
      0
      • S sumit durg

        I want smooth XP type status bar, where as it seems to be WIN' 98 status bar. How can i do this.

        S Offline
        S Offline
        Stuart Dootson
        wrote on last edited by
        #3

        Sounds like you need to set the PBS_SMOOTH[^] style for the progress bar

        S 1 Reply Last reply
        0
        • S Stuart Dootson

          Sounds like you need to set the PBS_SMOOTH[^] style for the progress bar

          S Offline
          S Offline
          sumit durg
          wrote on last edited by
          #4

          Style should be like XP, Not like Windows-98

          S 1 Reply Last reply
          0
          • S sumit durg

            Style should be like XP, Not like Windows-98

            S Offline
            S Offline
            Stuart Dootson
            wrote on last edited by
            #5

            Define what you mean by 'XP rather than Windows 98'... If you mean using themed controls, then you need to add a manifest, as described here[^].

            S 1 Reply Last reply
            0
            • S Stuart Dootson

              Define what you mean by 'XP rather than Windows 98'... If you mean using themed controls, then you need to add a manifest, as described here[^].

              S Offline
              S Offline
              sumit durg
              wrote on last edited by
              #6

              thanks for reply, can you tell me how to add manifest file in ATL project ( in Visual Studio 6.0)

              S 1 Reply Last reply
              0
              • S sumit durg

                thanks for reply, can you tell me how to add manifest file in ATL project ( in Visual Studio 6.0)

                S Offline
                S Offline
                Stuart Dootson
                wrote on last edited by
                #7

                This page[^] describes the process pretty well. Summarised, you do the following: 1. Add a file called 'MyApp.manifest' to your project. Put the following text into it, replacing the bits in italics with text that's appropriate for your application.

                <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
                <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
                <assemblyIdentity 
                    version="your app's version" 
                    processorArchitecture="X86" 
                    name="your app's name"
                    type="win32" 
                /> 
                <description>A Description of your application</description> 
                <dependency> 
                    <dependentAssembly> 
                        <assemblyIdentity 
                            type="win32" 
                            name="Microsoft.Windows.Common-Controls" 
                            version="6.0.0.0" 
                            processorArchitecture="X86" 
                            publicKeyToken="6595b64144ccf1df" 
                            language="*" 
                        /> 
                    </dependentAssembly> 
                </dependency> 
                </assembly>
                

                2. Add the following line to your project's resource file (the one with the .RC extension).

                1                       RT_MANIFEST             "MyApp.manifest"
                

                3. Rebuild your application

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups