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

C / C++ / MFC

 
GeneralRe: Printer Control Pin
Richard MacCutchan28-Aug-16 20:56
mveRichard MacCutchan28-Aug-16 20:56 
GeneralRe: Printer Control Pin
Jochen Arndt28-Aug-16 21:38
professionalJochen Arndt28-Aug-16 21:38 
GeneralRe: Printer Control Pin
Richard MacCutchan28-Aug-16 22:03
mveRichard MacCutchan28-Aug-16 22:03 
GeneralRe: Printer Control Pin
Jochen Arndt28-Aug-16 22:09
professionalJochen Arndt28-Aug-16 22:09 
GeneralRe: Printer Control Pin
Richard MacCutchan28-Aug-16 22:19
mveRichard MacCutchan28-Aug-16 22:19 
GeneralRe: Printer Control Pin
Bram van Kampen1-Sep-16 13:37
Bram van Kampen1-Sep-16 13:37 
GeneralRe: Printer Control Pin
Richard MacCutchan1-Sep-16 23:37
mveRichard MacCutchan1-Sep-16 23:37 
GeneralRe: Printer Control Pin
Bram van Kampen4-Sep-16 15:24
Bram van Kampen4-Sep-16 15:24 
GeneralRe: Printer Control Pin
Bram van Kampen4-Sep-16 15:30
Bram van Kampen4-Sep-16 15:30 
GeneralRe: Printer Control Pin
Richard MacCutchan4-Sep-16 21:39
mveRichard MacCutchan4-Sep-16 21:39 
GeneralRe: Printer Control Pin
Bram van Kampen6-Sep-16 16:03
Bram 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
Bram 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
AlbertB25-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
AlbertB25-Aug-16 4:39 
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
AlbertB25-Aug-16 5:54 
GeneralRe: Custom Slider control messages cannot be caught Pin
Bram van Kampen27-Aug-16 16:23
Bram van Kampen27-Aug-16 16:23 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB27-Aug-16 17:30
AlbertB27-Aug-16 17:30 
GeneralRe: Custom Slider control messages cannot be caught Pin
leon de boer28-Aug-16 22:27
leon de boer28-Aug-16 22:27 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB29-Aug-16 3:17
AlbertB29-Aug-16 3:17 
GeneralRe: Custom Slider control messages cannot be caught Pin
leon de boer29-Aug-16 5:34
leon de boer29-Aug-16 5:34 
Okay so the thing you are trying to make is a Radial Control or sometimes called a radial gauge (although gauge tends to imply display only)

Can't you just push out the messages as standard scrollbar messages using PostMessage with the handle being your parent window. I mean in standard native Win32 I would do this if I wanted to FAKE a WM_VSCROLL or WM_HSCROLL lets assume your dial is handle is hwnd and a position pos.
HWND myParent = GetParent(hwnd); // Standard API call to get a windows parent
PostMessage(myParent, WM_VSCROLL, MAKEWPARAM(SB_THUMBPOSITION, pos), (LPARAM)hwnd);  // Standard scrollbar fake message posted to my parent

As we are faking it I wouldn't use SendMessage as it might go re-entrant (you post off to the dialog and it posts back and around in circles it would go).

I can't see how MFC could get that wrong as there message pump is still using PeekMessage from the standard windows queue.
In vino veritas

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.