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. getMinMaxInfo use

getMinMaxInfo use

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

    I have an Dialog based project and if I try to add a windows messgaehandler for WM_GETMINMAXINFO, I have to change the filter from dialog to window in order to have that message available in the list. Is this ok? What is the reason for this? Thanks, ns

    J A 2 Replies Last reply
    0
    • N ns

      I have an Dialog based project and if I try to add a windows messgaehandler for WM_GETMINMAXINFO, I have to change the filter from dialog to window in order to have that message available in the list. Is this ok? What is the reason for this? Thanks, ns

      J Offline
      J Offline
      Joaquin M Lopez Munoz
      wrote on last edited by
      #2

      Hi ns, You're doing fine. This filter is just an Visual Studio UI thing designed to minimize the number of handlers the programmer is exposed to, so that only the most commonly used are displayed. Sometimes it happens (as in your case) that you go nuts looking for that handler and it appears nowhere. IMHO the filter thing does more harm than good, and it's badly implemented (it appears in a different tab than where its effect is apparent.) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

      N 1 Reply Last reply
      0
      • J Joaquin M Lopez Munoz

        Hi ns, You're doing fine. This filter is just an Visual Studio UI thing designed to minimize the number of handlers the programmer is exposed to, so that only the most commonly used are displayed. Sometimes it happens (as in your case) that you go nuts looking for that handler and it appears nowhere. IMHO the filter thing does more harm than good, and it's badly implemented (it appears in a different tab than where its effect is apparent.) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

        N Offline
        N Offline
        ns
        wrote on last edited by
        #3

        Good to hear from you again!! Appreciate the quick response. Thanks, ns

        1 Reply Last reply
        0
        • N ns

          I have an Dialog based project and if I try to add a windows messgaehandler for WM_GETMINMAXINFO, I have to change the filter from dialog to window in order to have that message available in the list. Is this ok? What is the reason for this? Thanks, ns

          A Offline
          A Offline
          ASchunk
          wrote on last edited by
          #4

          Hi, the reason is that the WM_GETMINMAXINFO is usually only avaiable for Windows. The Visual C++ help index says that this handler fills an array with information of the window. However, since dialogs are considered as a window this seems to be corrected. Kindly yours. Alex

          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