Click here to Skip to main content
15,036,363 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Printer Control Pin
Bram van Kampen6-Sep-16 16:03
MemberBram van Kampen6-Sep-16 16:03 
GeneralRe: Printer Control Pin
Richard MacCutchan6-Sep-16 21:35
mveRichard MacCutchan6-Sep-16 21:35 
GeneralRe: Printer Control Pin
Bram van Kampen8-Sep-16 14:18
MemberBram van Kampen8-Sep-16 14:18 
GeneralRe: Printer Control Pin
Richard MacCutchan8-Sep-16 22:37
mveRichard MacCutchan8-Sep-16 22:37 
GeneralRe: Printer Control Pin
Richard MacCutchan4-Sep-16 22:40
mveRichard MacCutchan4-Sep-16 22:40 
QuestionCustom Slider control messages cannot be caught Pin
AlbertB25-Aug-16 2:54
MemberAlbertB25-Aug-16 2:54 
AnswerRe: Custom Slider control messages cannot be caught Pin
Richard MacCutchan25-Aug-16 3:47
mveRichard MacCutchan25-Aug-16 3:47 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB25-Aug-16 4:39
MemberAlbertB25-Aug-16 4:39 
I found that Richard, MSDN is the first thing I go to. There is a wealth of stuff with examples (that actually are only part complete) in there. None of it seems to work!

From your link:
Quote:
A slider control notifies its parent window of user actions by sending the parent WM_HSCROLL or WM_VSCROLL messages, depending on the orientation of the slider control. To handle these messages, add handlers for the WM_HSCROLL and WM_VSCROLL messages to the parent window. The OnHScroll and OnVScroll member functions will be passed a notification code, the position of the slider, and a pointer to the CSliderCtrl object.

It just seems to back up everything I have done so far. I am trying unsuccessfully to catch the ON_HSCROLL and ON_VSCROLL messages in the parent wiondow just as MS says. I know I can parse out the info once I have caught the message, it's getting the message to land that I can't do even though I seem to be doing exactly what they say.
GeneralRe: Custom Slider control messages cannot be caught Pin
Richard MacCutchan25-Aug-16 4:59
mveRichard MacCutchan25-Aug-16 4:59 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB25-Aug-16 5:54
MemberAlbertB25-Aug-16 5:54 
GeneralRe: Custom Slider control messages cannot be caught Pin
Bram van Kampen27-Aug-16 16:23
MemberBram van Kampen27-Aug-16 16:23 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB27-Aug-16 17:30
MemberAlbertB27-Aug-16 17:30 
GeneralRe: Custom Slider control messages cannot be caught Pin
leon de boer28-Aug-16 22:27
Memberleon de boer28-Aug-16 22:27 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB29-Aug-16 3:17
MemberAlbertB29-Aug-16 3:17 
GeneralRe: Custom Slider control messages cannot be caught Pin
leon de boer29-Aug-16 5:34
Memberleon de boer29-Aug-16 5:34 
AnswerRe: Custom Slider control messages cannot be caught Pin
Stephen Hewitt25-Aug-16 6:33
MemberStephen Hewitt25-Aug-16 6:33 
GeneralRe: Custom Slider control messages cannot be caught Pin
Bram van Kampen27-Aug-16 16:10
MemberBram van Kampen27-Aug-16 16:10 
GeneralRe: Custom Slider control messages cannot be caught Pin
Bram van Kampen27-Aug-16 16:15
MemberBram van Kampen27-Aug-16 16:15 
QuestionCEdit::SetHighlight Pin
AlecJames25-Aug-16 0:48
MemberAlecJames25-Aug-16 0:48 
QuestionRe: CEdit::SetHighlight Pin
Richard MacCutchan25-Aug-16 0:59
mveRichard MacCutchan25-Aug-16 0:59 
AnswerRe: CEdit::SetHighlight Pin
AlecJames25-Aug-16 3:49
MemberAlecJames25-Aug-16 3:49 
AnswerRe: CEdit::SetHighlight Pin
Jochen Arndt25-Aug-16 2:01
professionalJochen Arndt25-Aug-16 2:01 
GeneralRe: CEdit::SetHighlight Pin
Richard MacCutchan25-Aug-16 2:41
mveRichard MacCutchan25-Aug-16 2:41 
GeneralRe: CEdit::SetHighlight Pin
leon de boer25-Aug-16 3:15
Memberleon de boer25-Aug-16 3:15 
GeneralRe: CEdit::SetHighlight Pin
AlecJames25-Aug-16 3:54
MemberAlecJames25-Aug-16 3:54 

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.