Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: random number that doesn't repeat? Pin
__yb27-Oct-05 2:18
__yb27-Oct-05 2:18 
QuestionPlease Help with CAsyncSocket Pin
cgb14326-Oct-05 4:17
cgb14326-Oct-05 4:17 
AnswerRe: Please Help with CAsyncSocket Pin
Moak4-Nov-05 8:39
Moak4-Nov-05 8:39 
Questionefficient 'push&hold' button ? Pin
ganjabro26-Oct-05 4:07
ganjabro26-Oct-05 4:07 
AnswerRe: efficient 'push&hold' button ? Pin
David Crow26-Oct-05 4:25
David Crow26-Oct-05 4:25 
GeneralRe: efficient 'push&hold' button ? Pin
Anonymous26-Oct-05 7:02
Anonymous26-Oct-05 7:02 
QuestionRe: efficient 'push&hold' button ? Pin
David Crow26-Oct-05 7:10
David Crow26-Oct-05 7:10 
AnswerRe: efficient 'push&hold' button ? Pin
ganjabro26-Oct-05 8:35
ganjabro26-Oct-05 8:35 
DavidCrow wrote:
While only partially related, have you seen this?


hmm thanks for the link but i can't find the handling of WM_LMBUTTONDOWN (and checking if it's for the desired button) in the shown code of that example... am i blind or is it somehow hidden/already implemented by mfc ?

i found a different approach, explained here http://www.pluralsight.com/articlecontent/cpprep0797.htm[^]. it seems simpler and more logical but to implement it for this purpose the button control, that is it's window, should have it's own window procedure which i could then override to handle WM_LMBUTTONDOWN/UP messages... so my question is do even the buttons have a window procedure ?

although when i think about it this approach also isn't as straitforward as it looks, at least not for what i need to use it. in the new wnd procedure i would then have to call GetParent() and then send a message to the parent dialogbox which would then again have to be processed by the dialogbox procedure ... Smile | :)

in your opinion, which method is more efficient then ? Smile | :)
GeneralRe: efficient 'push&hold' button ? Pin
ganjabro26-Oct-05 8:41
ganjabro26-Oct-05 8:41 
QuestionHow to get the actual value? Pin
ShiningStarPxx26-Oct-05 3:43
ShiningStarPxx26-Oct-05 3:43 
AnswerRe: How to get the actual value? Pin
Cedric Moonen26-Oct-05 3:46
Cedric Moonen26-Oct-05 3:46 
GeneralRe: How to get the actual value? Pin
ShiningStarPxx26-Oct-05 20:08
ShiningStarPxx26-Oct-05 20:08 
GeneralRe: How to get the actual value? Pin
Cedric Moonen26-Oct-05 20:41
Cedric Moonen26-Oct-05 20:41 
AnswerRe: How to get the actual value? Pin
David Crow26-Oct-05 4:04
David Crow26-Oct-05 4:04 
GeneralRe: How to get the actual value? Pin
ShiningStarPxx26-Oct-05 20:00
ShiningStarPxx26-Oct-05 20:00 
GeneralRe: How to get the actual value? Pin
Anonymous26-Oct-05 21:59
Anonymous26-Oct-05 21:59 
GeneralRe: How to get the actual value? Pin
Anonymous26-Oct-05 22:02
Anonymous26-Oct-05 22:02 
GeneralRe: How to get the actual value? Pin
David Crow27-Oct-05 2:19
David Crow27-Oct-05 2:19 
Questionrelease version help pls Pin
Mithin26-Oct-05 2:52
Mithin26-Oct-05 2:52 
AnswerRe: release version help pls Pin
David Crow26-Oct-05 3:00
David Crow26-Oct-05 3:00 
GeneralRe: release version help pls Pin
Mithin26-Oct-05 3:08
Mithin26-Oct-05 3:08 
GeneralRe: release version help pls Pin
Cedric Moonen26-Oct-05 3:44
Cedric Moonen26-Oct-05 3:44 
GeneralRe: release version help pls Pin
Mithin26-Oct-05 3:52
Mithin26-Oct-05 3:52 
GeneralRe: release version help pls Pin
Cedric Moonen26-Oct-05 4:00
Cedric Moonen26-Oct-05 4:00 
GeneralRe: release version help pls Pin
Mithin26-Oct-05 4:24
Mithin26-Oct-05 4:24 

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.