Announcement

Collapse
No announcement yet.

PB program icons in explorer

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

  • PB program icons in explorer

    Originally I only had the TNET entry in this resource file. Ever since I added the others it's started using the GRNCHKMK.ICO in Windows Explorer. The dialog icon however stays the same since I implicitly load it from the resource file in the program by name. How do you make sure which icon Windows will use in explorer.

    Of course I've delete the original EXE and recompiled with the TNET ICON entry first but it still uses the GRNCHKMK.ICO. At one time this icon was first in the list.

    Does it have anything to do with the .RES file. I've even placed that in the executable code area. Should it go in the source code area as well. I keep all my resource files in one directory and then normally just move the .pbr to the source code are. Should I place the .res file there too?

    Code:
    TNET ICON HWA.ICO
    PROG_EN ICON GRNCHKMK.ICO
    PROG_DIS ICON GRYCHKMK.ICO
    LEFT_MENU ICON GRRARROW.ICO
    RIGHT_MENU ICON BLRARROW.ICO
    larrow  BITMAP larrow.bmp
    rarrow  BITMAP rarrow.bmp
    dlarrow BITMAP dlarrow.bmp
    drarrow BITMAP drarrow.bmp
    harrow  BITMAP harrow.bmp
    earrow  BITMAP earrow.bmp

  • #2
    Are you sure?

    I really don't understand this, because alphabetically spoken the ico with the name LEFT_MENU should be displayed. I always name my icons as follows, simply to be sure that my program icon will be used as program icon:
    Code:
    01_PROGICON ICON PROG.ICO
    02_XYZICON ICON XYZ.ICO
    03_ABCICON ICON ABC.ICO
    Where your res-file resides is unimportant. In most cases I do not even have a res-file, simply because I delete it immediately after the pbr-file has been compiled.

    Egbert Zijlema, journalist and programmer (zijlema at basicguru dot eu)
    http://zijlema.basicguru.eu
    *** Opinions expressed here are not necessarily untrue ***

    Comment


    • #3
      GRNCHKMK.ICO was not right, I'm sorry. It was GRRARROW.ICO. So it's alphabetical. Thanks, that gives me the answer.

      Bob Mechler

      Comment


      • #4
        GRNCHKMK.ICO was not right, I'm sorry. It was GRRARROW.ICO. So it's alphabetical. Thanks, that gives me the answer.

        Bob Mechler

        Comment

        Working...
        X