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. The Lounge
  3. Dialog editor speed problem

Dialog editor speed problem

Scheduled Pinned Locked Moved The Lounge
c++performancehelpquestion
6 Posts 3 Posters 3 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
    Sam Woodward
    wrote on last edited by
    #1

    I'm using VC++6, with service pack 3, WinTabs and Visual Assist, in Windows 2000 on a 1GHz machine with 392k RAM and about 12Gb of free HDD space... (i.e. there appears to be no particular physical restrictions on speed.) However the dialog editor is extremely sluggish - it can take as long as 3-6 seconds for the right-mouse-button menu to open over a dialog, or for clicking on a button to highlight it. This seems unreasonably slow! :confused: My .rc file is only about 60k, which doesn't seem too big to me? Is this a common complaint? If so does anyone have any ideas about how this might be speeded up please? Many thanks, Sam

    N C 3 Replies Last reply
    0
    • S Sam Woodward

      I'm using VC++6, with service pack 3, WinTabs and Visual Assist, in Windows 2000 on a 1GHz machine with 392k RAM and about 12Gb of free HDD space... (i.e. there appears to be no particular physical restrictions on speed.) However the dialog editor is extremely sluggish - it can take as long as 3-6 seconds for the right-mouse-button menu to open over a dialog, or for clicking on a button to highlight it. This seems unreasonably slow! :confused: My .rc file is only about 60k, which doesn't seem too big to me? Is this a common complaint? If so does anyone have any ideas about how this might be speeded up please? Many thanks, Sam

      N Offline
      N Offline
      Navin
      wrote on last edited by
      #2

      I've had that happen, it seems like if you have a LOT of dialogs, it slows the whole thing down. I didn't figure out a good way of fixing it. Integrating with source control also causes slowdowns at odd times... do you have source control (PVCS, VSS, whatever) integrated into Visual? Even a broken clock is right twice a day.

      1 Reply Last reply
      0
      • S Sam Woodward

        I'm using VC++6, with service pack 3, WinTabs and Visual Assist, in Windows 2000 on a 1GHz machine with 392k RAM and about 12Gb of free HDD space... (i.e. there appears to be no particular physical restrictions on speed.) However the dialog editor is extremely sluggish - it can take as long as 3-6 seconds for the right-mouse-button menu to open over a dialog, or for clicking on a button to highlight it. This seems unreasonably slow! :confused: My .rc file is only about 60k, which doesn't seem too big to me? Is this a common complaint? If so does anyone have any ideas about how this might be speeded up please? Many thanks, Sam

        C Offline
        C Offline
        Chris Hambleton
        wrote on last edited by
        #3

        Try closing Visual Studio, go to the project directory, and delete the following files: *.ncb and *.aps (and maybe the *.opt). Then restart VS... Chris _"No one goes to hell because of their sin, but because of rejecting God's method of salvation: His Son's life for yours..."

        "It does not take a majority to prevail ... but rather an irate, tireless minority, keen on setting brushfires of freedom in the minds of men." --Samuel Adams_

        S 2 Replies Last reply
        0
        • C Chris Hambleton

          Try closing Visual Studio, go to the project directory, and delete the following files: *.ncb and *.aps (and maybe the *.opt). Then restart VS... Chris _"No one goes to hell because of their sin, but because of rejecting God's method of salvation: His Son's life for yours..."

          "It does not take a majority to prevail ... but rather an irate, tireless minority, keen on setting brushfires of freedom in the minds of men." --Samuel Adams_

          S Offline
          S Offline
          Sam Woodward
          wrote on last edited by
          #4

          Thanks for your advice. I've tried deleting the .ncb, .aps and .opt files as you suggested. They totalled about 1M between them. At first the results seemed encouraging, but after half a dozen clicks in the dialog editor it was back to being very slow again. The regenerated .ncb/opt files are about 50% of the size that they were before though. I'm not using PCVS or VSS. Maybe I just need to learn to be patient! Thanks, Sam

          1 Reply Last reply
          0
          • C Chris Hambleton

            Try closing Visual Studio, go to the project directory, and delete the following files: *.ncb and *.aps (and maybe the *.opt). Then restart VS... Chris _"No one goes to hell because of their sin, but because of rejecting God's method of salvation: His Son's life for yours..."

            "It does not take a majority to prevail ... but rather an irate, tireless minority, keen on setting brushfires of freedom in the minds of men." --Samuel Adams_

            S Offline
            S Offline
            Sam Woodward
            wrote on last edited by
            #5

            There are a total of 37 dialogs, which I'd not say is a LARGE number? S

            1 Reply Last reply
            0
            • S Sam Woodward

              I'm using VC++6, with service pack 3, WinTabs and Visual Assist, in Windows 2000 on a 1GHz machine with 392k RAM and about 12Gb of free HDD space... (i.e. there appears to be no particular physical restrictions on speed.) However the dialog editor is extremely sluggish - it can take as long as 3-6 seconds for the right-mouse-button menu to open over a dialog, or for clicking on a button to highlight it. This seems unreasonably slow! :confused: My .rc file is only about 60k, which doesn't seem too big to me? Is this a common complaint? If so does anyone have any ideas about how this might be speeded up please? Many thanks, Sam

              C Offline
              C Offline
              Chris Hambleton
              wrote on last edited by
              #6

              Ok -- try this (MSDN KB Ref # Q236399); close VS, delete the *.clw file, reopen VS, then regenerate the clw file by starting up the class wizard... Good Luck! Chris _"No one goes to hell because of their sin, but because of rejecting God's method of salvation: His Son's life for yours..."

              "It does not take a majority to prevail ... but rather an irate, tireless minority, keen on setting brushfires of freedom in the minds of men." --Samuel Adams_

              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