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 group box respond to BN_CLICKED

how group box respond to BN_CLICKED

Scheduled Pinned Locked Moved C / C++ / MFC
wpftutorialquestion
2 Posts 2 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.
  • I Offline
    I Offline
    iceman8616
    wrote on last edited by
    #1

    Hi everybody, i put a group box which id is IDC_GB in a dialog. i add a message function to it and change it's styles notify to true. but it doesn't respond when i click it use mouse. who can tell me how to do?

    C 1 Reply Last reply
    0
    • I iceman8616

      Hi everybody, i put a group box which id is IDC_GB in a dialog. i add a message function to it and change it's styles notify to true. but it doesn't respond when i click it use mouse. who can tell me how to do?

      C Offline
      C Offline
      Code o mat
      wrote on last edited by
      #2

      Just a guess here but try handling the NM_CLICK notification message instead of BN_CLICKED, aside of that, try using spy++ to see what the parent of the groupbox receives when you click the box. p.s: i hate groupboxes. ;)

      > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

      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