Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

LButtonUp event from a button

Posted on 1998-11-10
1
Medium Priority
?
522 Views
Last Modified: 2013-11-20
How do I catch the Left mouse button up event off of a button. I am using the classwizrad to catch the event
from the View.. but I cant find where to WM_LBUTTONUP is for
a button.  

All I see are options for BN_CLICKED or a BN_DOUBLECLICKED
Messages..

thanks
0
Comment
Question by:vinny5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
arunprakash earned 150 total points
ID: 1324479
Here is what u need,
Normally the class wizard will only list the messages that are reflected from the control.
If u need to catch the additional messages.U need to do subclassing.

Create another CMyButton from CButton
Make ur control in the Dialog to be as a type of CMybutton (do by
               Add Variable and choose ur class instaed of the CButton)

hope this helps,
thanx,
bye
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question