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. How set message handling right?

How set message handling right?

Scheduled Pinned Locked Moved C / C++ / MFC
helpperformancec++question
1 Posts 1 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.
  • R Offline
    R Offline
    ryuki
    wrote on last edited by
    #1

    I have a singledocument MFC app. In the mainwindow it displays a listview. If you pick an item in that view a couple of docking Toolsbars with views should show a preview and Informations of that item. You know ACDSee? Than you know what I speak of. I managed to set things up so far and it works. When selection changes the view sends a message (SendMessage()) with an ID to my MainFrame class and that one loads the new information in the preview tool bars (it calls the functions for loading in the toolbar classes). Now I have the problem that changing selection in the mainview gets a little bit bumpy. When pressing the down key the selection cicles through the view. Without the views the speed is allways the same. With the views it stops sometimes but the speed changes again and again. What I want is a steady speed. The other downside is that the toolbars crashes. It is not a fatal error, the toolbars still work but the updated Informations are not displayed anymore. Even the overall appearance of the bars look damaged. I use a class from codeproject for them: CSizingControlBar so its difficult to say if its a problem with that class or a memory / message issue of my app. Anyway I would be grateful if someone could help me with the first issue, and even more if someone knows something about the second one.

    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