Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


WM_LBUTTONDOWN not being received by control...

This topic is 5619 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve created a custom control in MFC that is derived from CStatic. I have added an OnLButtonDown() message handler, but it never gets called... any ideas why? I''d like to make the control detect mouse drags in it''s client area. --------------------

You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming
You are unique. Just like everybody else.
"Mechanical engineers design weapons; civil engineers design targets."
"Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensor


Share this post

Link to post
Share on other sites
Guest Anonymous Poster
on the static controls Styles properties page in the resource editor, make sure you have Notify checked. if you''re creating it at runtime, make sure it has the SS_NOTIFY style.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!