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. C / C++ / MFC
  4. Start menu button text...

Start menu button text...

Scheduled Pinned Locked Moved C / C++ / MFC
comgraphicsjsonquestion
4 Posts 3 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.
  • A Offline
    A Offline
    adamUK
    wrote on last edited by
    #1

    I have been messing around with the start menu caption.. it's easy in WinXP as once you have EnumChildWindow'ed your way down to it, it's just a case of ::SetWindowText(). However, it's not so easy in W2K as the window text does not correspond to the text in the button... I see that is has the BS_BITMAP style so it's all a bitmap?? any suggestions?! cheers Ad. My world tour What I do now.. "I spent a lot of my money on booze, birds and fast cars. The rest I just squandered" George Best. "I suppose if it was a choice between bon jovi and the interior of a car, the car would win, even it didnt have a radio and I had to sit in silence" James Simpson on Light Metal.

    R D 2 Replies Last reply
    0
    • A adamUK

      I have been messing around with the start menu caption.. it's easy in WinXP as once you have EnumChildWindow'ed your way down to it, it's just a case of ::SetWindowText(). However, it's not so easy in W2K as the window text does not correspond to the text in the button... I see that is has the BS_BITMAP style so it's all a bitmap?? any suggestions?! cheers Ad. My world tour What I do now.. "I spent a lot of my money on booze, birds and fast cars. The rest I just squandered" George Best. "I suppose if it was a choice between bon jovi and the interior of a car, the car would win, even it didnt have a radio and I had to sit in silence" James Simpson on Light Metal.

      R Offline
      R Offline
      Ryan Binns
      wrote on last edited by
      #2

      adamUK wrote: I see that is has the BS_BITMAP style so it's all a bitmap?? Yes that's correct. Windows explorer creates the bitmap at runtime from the text and the flag icon. You can do the same, if you want to :)

      Ryan

      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

      1 Reply Last reply
      0
      • A adamUK

        I have been messing around with the start menu caption.. it's easy in WinXP as once you have EnumChildWindow'ed your way down to it, it's just a case of ::SetWindowText(). However, it's not so easy in W2K as the window text does not correspond to the text in the button... I see that is has the BS_BITMAP style so it's all a bitmap?? any suggestions?! cheers Ad. My world tour What I do now.. "I spent a lot of my money on booze, birds and fast cars. The rest I just squandered" George Best. "I suppose if it was a choice between bon jovi and the interior of a car, the car would win, even it didnt have a radio and I had to sit in silence" James Simpson on Light Metal.

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        adamUK wrote: any suggestions?! See http://www.winguides.com/registry/display.php/791/

        R 1 Reply Last reply
        0
        • D David Crow

          adamUK wrote: any suggestions?! See http://www.winguides.com/registry/display.php/791/

          R Offline
          R Offline
          Ryan Binns
          wrote on last edited by
          #4

          http://www.winguides.com/registry/display.php/791/[^]

          Ryan

          "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

          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