Click here to Skip to main content
16,005,069 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC related problem Pin
ddspliting18-Sep-07 6:59
ddspliting18-Sep-07 6:59 
QuestionCSpinButtonCtrl and WM_VSCROLL Pin
Californian217-Sep-07 6:06
Californian217-Sep-07 6:06 
QuestionRe: CSpinButtonCtrl and WM_VSCROLL Pin
David Crow17-Sep-07 6:51
David Crow17-Sep-07 6:51 
AnswerRe: CSpinButtonCtrl and WM_VSCROLL Pin
Californian217-Sep-07 7:10
Californian217-Sep-07 7:10 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
David Crow17-Sep-07 7:22
David Crow17-Sep-07 7:22 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
Californian217-Sep-07 8:08
Californian217-Sep-07 8:08 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
David Crow17-Sep-07 8:14
David Crow17-Sep-07 8:14 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
Californian217-Sep-07 8:41
Californian217-Sep-07 8:41 
Look, here's my original question again:

I have a CSpinButtonCtrl in a dialog box and want to check changes to its value only after the user releases the mouse button. It seems that the spin control sends WM_VSCROLL messages with SB_THUMBPOSITION set even before the user releases the mouse button. Can anyone tell me how to process only the final message, and not all the ones in between (I don't think WM_LBUTTONUP would do it, since I need to determine which control it came from, and that message doesn't seem to tell me that.)

---------

What I said was that WM_LBUTTONUP was not the answer to my problem because I'm using information (given to me through OnVScroll) about which control sent me the message.

I want to know how to process a change to a value in a spin control only after the user releases the mouse button.

I already know the difference between SB_THUMBPOSITION and SB_THUMBTRACK. The use of SB_THUMBTRACK would be decidedly unhelpful. If you don't know the answer to my question, don't waste my time by pretending I asked some other, obviously stupid, question.

Poke tongue | ;-P

GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
David Crow17-Sep-07 10:03
David Crow17-Sep-07 10:03 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
Californian217-Sep-07 13:04
Californian217-Sep-07 13:04 
AnswerRe: CSpinButtonCtrl and WM_VSCROLL Pin
Mark Salsbery17-Sep-07 8:38
Mark Salsbery17-Sep-07 8:38 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
Californian217-Sep-07 8:55
Californian217-Sep-07 8:55 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
Mark Salsbery17-Sep-07 9:10
Mark Salsbery17-Sep-07 9:10 
QuestionVS2005 assertion when DoModal called from DLL Pin
Russell Gantman17-Sep-07 5:57
Russell Gantman17-Sep-07 5:57 
AnswerRe: VS2005 assertion when DoModal called from DLL Pin
Mark Salsbery17-Sep-07 8:48
Mark Salsbery17-Sep-07 8:48 
GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Russell Gantman17-Sep-07 10:57
Russell Gantman17-Sep-07 10:57 
GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Mark Salsbery17-Sep-07 13:07
Mark Salsbery17-Sep-07 13:07 
GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Russell Gantman18-Sep-07 9:00
Russell Gantman18-Sep-07 9:00 
GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Mark Salsbery18-Sep-07 9:34
Mark Salsbery18-Sep-07 9:34 
GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Russell Gantman20-Sep-07 7:33
Russell Gantman20-Sep-07 7:33 
QuestionMigration of a VCPP program to Windows Vista Pin
kchatterjee17-Sep-07 5:04
kchatterjee17-Sep-07 5:04 
AnswerRe: Migration of a VCPP program to Windows Vista Pin
David Crow17-Sep-07 5:50
David Crow17-Sep-07 5:50 
GeneralRe: Migration of a VCPP program to Windows Vista Pin
jhwurmbach17-Sep-07 6:12
jhwurmbach17-Sep-07 6:12 
Questionchoosing Threads Pin
Gofur Halmurat17-Sep-07 4:35
Gofur Halmurat17-Sep-07 4:35 
AnswerRe: choosing Threads Pin
DevMentor.org17-Sep-07 4:38
DevMentor.org17-Sep-07 4:38 

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.