Announcement

Collapse
No announcement yet.

Shellabout

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shellabout

    So I was looking at the ShellAbout API again, since we're under Win2k and all now....

    Microsoft STILL insists on putting THEIR name in front of YOUR application....
    However you can change that, but my question is how to get the bitmap from the OS that is above all of that, the Win2k bitmap....

    I just want my app to have the "win2k" look..

    g_szMine = "Winlog For Windows 2000"
    g_Result = ShellAbout(ByVal hWnd, "does not own this product",ByVal StrPtr(g_szMine), ByVal g_hIcon)


    ------------------
    Scott
    Scott Turchin
    MCSE, MCP+I
    http://www.tngbbs.com
    ----------------------
    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

  • #2
    Originally posted by Scott Turchin:

    However you can change that, but my question is how to get the bitmap from the OS that is above all of that, the Win2k bitmap....
    The Bitmap is stored in shell32.dll. Open it with your favorite resource editor to extract it (I use ResHack or Restorator).
    In my german Win2K the Win2K-Bitmap has the resource-ID 131.

    Perhaps you can load it directly out of the shell32.dll (I think, the ID is the same on every Windows. I'll check this...)

    regards,
    Sven



    ------------------
    E-Mail (home): mailto:[email protected][email protected]</A>
    E-Mail (work): mailto:[email protected][email protected]</A>

    Comment


    • #3
      > I think, the ID is the same on every Windows

      The Icon ID numbers in SHELL32, USER32, etc. are not consistent among the various versions of Windows. I would be surprised if the Bitmap IDs are...

      -- Eric

      ------------------
      Perfect Sync Development Tools
      Perfect Sync Web Site
      Contact Us: mailto:[email protected][email protected]</A>
      "Not my circus, not my monkeys."

      Comment


      • #4
        Under Win2K and WinME the ID of the Bitmaps (wich are shown in the ShellAbout box) are the same. 131 on both. I'll check Win98SE now

        ------------------
        E-Mail (home): mailto:[email protected][email protected]</A>
        E-Mail (work): mailto:[email protected][email protected]</A>

        Comment


        • #5
          So, if 98 is the same then walah, I'm in business..
          Otherwise I just did a print screen of it, I prefer my own dialog box....
          MS Wants to own the world it seems...(THey just won their appeal ruling just a few minutes ago, judge threw it out to a new judge/trial)..


          ------------------
          Scott

          [This message has been edited by Scott Turchin (edited June 28, 2001).]
          Scott Turchin
          MCSE, MCP+I
          http://www.tngbbs.com
          ----------------------
          True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

          Comment


          • #6
            Oh, I just saw, that Win98 & 95 don't have a bitmap in their
            ShellAbout Box. So, there is no bitmap in the shell32.dll

            To make it easier for you, I send you the original Win2K and WinME pictures (extracted form the dll).

            For Win9x you can use the "Windows Powered" bitmap from the Win2K shell32.dll

            ------------------
            E-Mail (home): mailto:[email protected][email protected]</A>
            E-Mail (work): mailto:[email protected][email protected]</A>

            [This message has been edited by Sven Blumenstein (edited June 28, 2001).]

            Comment


            • #7
              Wouldn't it be advantageous for PowerBasic to make/provide a
              "Powered by PowerBasic" icon/logo for programmers to include
              in their software rather than an "Underpowered by Windows" icon?

              Of course,they might have to have a disclaimer that they aren't
              responsible for the work of the artist, only for providing him
              with a brush.

              regards,

              ------------------
              [email protected]
              :) IRC :)

              Comment


              • #8
                So if I do a version check (and i do), is there a w ay to just load the bmp from the resource?
                I'm sure i've seen the code here before...

                And as for a PB icon/bitmap, all for that idea!


                Scott

                ------------------
                Scott
                Scott Turchin
                MCSE, MCP+I
                http://www.tngbbs.com
                ----------------------
                True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

                Comment


                • #9
                  Wouldn't it be advantageous for PowerBasic to make/provide a
                  "Powered by PowerBasic" icon/logo for programmers to include
                  in their software rather than an "Underpowered by Windows" icon?
                  Of course,they might have to have a disclaimer that they aren't
                  responsible for the work of the artist, only for providing him
                  with a brush.
                  We have too many lawyers with too little to do. Many would glom onto this "association" thinking "powered by" is actually spelled, "c-o-n-t-i-n-g-e-n-c-y f-e-e."

                  Hmmm... I see you have a Canadian address. I think you guys have space for about 200,000 of our excess attorneys.

                  You want 'em?

                  MCM


                  Michael Mattias
                  Tal Systems (retired)
                  Port Washington WI USA
                  [email protected]
                  http://www.talsystems.com

                  Comment


                  • #10
                    originally posted by scott turchin:
                    i'm sure i've seen the code here before...
                    http://www.powerbasic.com/support/pb...ad.php?t=12059



                    ------------------
                    e-mail (home): mailto:[email protected][email protected]</a>
                    e-mail (work): mailto:[email protected][email protected]</a>

                    Comment

                    Working...
                    X