Jump to content
  • Advertisement

Archived

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

Yanroy

WM_LBUTTONDOWN not being received by control...

This topic is 5533 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

Yanroy@usa.com

Share this post


Link to post
Share on other sites
Advertisement
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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!