Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: random number that doesn't repeat? Pin
David Crow26-Oct-05 4:30
David Crow26-Oct-05 4:30 
GeneralRe: random number that doesn't repeat? Pin
John R. Shaw26-Oct-05 15:20
John R. Shaw26-Oct-05 15:20 
AnswerRe: random number that doesn't repeat? Pin
toxcct26-Oct-05 5:03
toxcct26-Oct-05 5:03 
AnswerRe: random number that doesn't repeat? Pin
Joe Woodbury26-Oct-05 6:31
professionalJoe Woodbury26-Oct-05 6:31 
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 
i'm trying to implement a button that functions for example the way that the seek or pitchbend controls function on a cd player. that is, you press/'push' it and 'work starts getting done' and 'stops getting done' when/after you release the button.

the only way that i know and that works is to check mouse coordinates upon WM_LBUTTONDOWN/UP (since WM_COMMAND gets sent only after you press and depress a button) and compare them with the button position/recantgle and then take appropriate action... but that seems too complicated (calculating, storing & comparing coordinates), is there a simpler way ?

thnx Smile | :)
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 
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 

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.