Announcement

Collapse
No announcement yet.

Shellabout

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

  • Sven Blumenstein
    replied
    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>

    Leave a comment:


  • Michael Mattias
    replied
    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


    Leave a comment:


  • Scott Turchin
    replied
    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

    Leave a comment:


  • Ian Cairns
    replied
    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]

    Leave a comment:


  • Sven Blumenstein
    replied
    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).]

    Leave a comment:


  • Scott Turchin
    replied
    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).]

    Leave a comment:


  • Sven Blumenstein
    replied
    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]r.de</A>
    E-Mail (work): mailto:[email protected][email protected]</A>

    Leave a comment:


  • Eric Pearson
    replied
    > 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>

    Leave a comment:


  • Sven Blumenstein
    replied
    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>

    Leave a comment:


  • Scott Turchin
    started a topic Shellabout

    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
Working...
X