Click here to Skip to main content
15,909,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetProcAddress fro member function Pin
Stephen Hewitt29-Apr-07 21:43
Stephen Hewitt29-Apr-07 21:43 
GeneralRe: GetProcAddress fro member function Pin
Paresh Chitte29-Apr-07 22:25
Paresh Chitte29-Apr-07 22:25 
AnswerRe: GetProcAddress fro member function Pin
Stephen Hewitt29-Apr-07 21:45
Stephen Hewitt29-Apr-07 21:45 
GeneralRe: GetProcAddress fro member function Pin
vibindia29-Apr-07 22:26
vibindia29-Apr-07 22:26 
GeneralRe: GetProcAddress fro member function Pin
Stephen Hewitt29-Apr-07 22:31
Stephen Hewitt29-Apr-07 22:31 
GeneralRe: GetProcAddress fro member function Pin
Paresh Chitte29-Apr-07 22:51
Paresh Chitte29-Apr-07 22:51 
AnswerRe: GetProcAddress fro member function Pin
twhall22-Jan-10 12:22
twhall22-Jan-10 12:22 
QuestionON_LBUTTONDOWN Pin
Vancouver29-Apr-07 18:13
Vancouver29-Apr-07 18:13 
Hi,

I have defined handlers for WM_LBUTTONDOWN and WM_LBUTTONUP. The routines do receive control when pressing/releasing the button, EXCEPT if the mouse is over a static control - and I want to gain control exactly in that situation. In fact, the handlers don't receive the control if the mouse is over any control on the main window, only if the mouse is over an area of the main window, where there is no control.

I can process the CLICKED event for that control, but that's not what I need.

This particular control does not have any message handler. The documentation states

If the mouse is not captured, the message is posted to the window beneath the cursor

but ON_WM_LBUTTONDOWN and LBUTTONUP don't accept a specification of the control. How can I catch this event related to a specific control?
AnswerRe: ON_LBUTTONDOWN Pin
_AnsHUMAN_ 29-Apr-07 18:20
_AnsHUMAN_ 29-Apr-07 18:20 
GeneralRe: ON_LBUTTONDOWN Pin
Vancouver29-Apr-07 19:38
Vancouver29-Apr-07 19:38 
GeneralRe: ON_LBUTTONDOWN Pin
PJ Arends29-Apr-07 21:19
professionalPJ Arends29-Apr-07 21:19 
GeneralRe: ON_LBUTTONDOWN Pin
Vancouver30-Apr-07 5:00
Vancouver30-Apr-07 5:00 
GeneralRe: ON_LBUTTONDOWN Pin
Mark Salsbery30-Apr-07 8:07
Mark Salsbery30-Apr-07 8:07 
GeneralRe: ON_LBUTTONDOWN Pin
Vancouver30-Apr-07 8:42
Vancouver30-Apr-07 8:42 
QuestionRe: ON_LBUTTONDOWN Pin
Mark Salsbery30-Apr-07 8:49
Mark Salsbery30-Apr-07 8:49 
AnswerRe: ON_LBUTTONDOWN Pin
Vancouver30-Apr-07 11:12
Vancouver30-Apr-07 11:12 
GeneralRe: ON_LBUTTONDOWN Pin
Mark Salsbery30-Apr-07 11:34
Mark Salsbery30-Apr-07 11:34 
GeneralRe: ON_LBUTTONDOWN Pin
Vancouver30-Apr-07 11:59
Vancouver30-Apr-07 11:59 
GeneralRe: ON_LBUTTONDOWN Pin
Mark Salsbery30-Apr-07 12:12
Mark Salsbery30-Apr-07 12:12 
QuestionExporting custom control via DLL Pin
alex.barylski29-Apr-07 18:10
alex.barylski29-Apr-07 18:10 
AnswerRe: Exporting custom control via DLL Pin
_AnsHUMAN_ 29-Apr-07 18:28
_AnsHUMAN_ 29-Apr-07 18:28 
Questionlist control and selected records Pin
hero199529-Apr-07 17:22
hero199529-Apr-07 17:22 
AnswerRe: list control and selected records Pin
_AnsHUMAN_ 29-Apr-07 17:53
_AnsHUMAN_ 29-Apr-07 17:53 
Questionpreprocessor macro inside string literal? Pin
PJ Arends29-Apr-07 17:08
professionalPJ Arends29-Apr-07 17:08 
AnswerRe: preprocessor macro inside string literal? Pin
Stephen Hewitt29-Apr-07 18:30
Stephen Hewitt29-Apr-07 18:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.