Click here to Skip to main content
15,887,244 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
SuggestionRe: VS2017: Cannot debug Dll's Pin
Richard MacCutchan23-Mar-18 1:21
mveRichard MacCutchan23-Mar-18 1:21 
SuggestionRe: VS2017: Cannot debug Dll's Pin
Jochen Arndt23-Mar-18 1:25
professionalJochen Arndt23-Mar-18 1:25 
AnswerRe: VS2017: Cannot debug Dll's Pin
Randor 23-Mar-18 8:09
professional Randor 23-Mar-18 8:09 
QuestionSelect and Pick lines in OpenGL Pin
Gopi Nath22-Mar-18 19:40
Gopi Nath22-Mar-18 19:40 
AnswerRe: Select and Pick lines in OpenGL Pin
leon de boer22-Mar-18 20:30
leon de boer22-Mar-18 20:30 
GeneralRe: Select and Pick lines in OpenGL Pin
Gopi Nath22-Mar-18 21:08
Gopi Nath22-Mar-18 21:08 
GeneralRe: Select and Pick lines in OpenGL Pin
Gopi Nath24-Jul-18 21:17
Gopi Nath24-Jul-18 21:17 
QuestionNotifiation Messages for CSpinButtonCtrl in MFC Pin
Sampath57922-Mar-18 3:46
Sampath57922-Mar-18 3:46 
Hi
I created a control in my MFC application as follows:

CSpinButtonCtrl m_spin;
m_spin.Create(UDS_HORZ, CRect(0, 0, 50, 50), this, 1011);
	m_spin.ShowWindow(1);


which created a spin control with two button with left arrow and right arrow. Now i want to perform some job based on the user clicks on these two buttons. I tried by adding notification message in Message map as follows:

ON_NOTIFY(NM_CLICK, IDC_SPIN1, OnDropDown)


The above message dint called my OnDropDown().

I tried adding ON_WM_HSCROLL(), it worked. The function OnHScroll is getting executed when i click on right or left arrow buttons in spin control.

But what my fear is, in near future i may also add a scroll bars (horiz and veritcal) in my application. That time this may get conflict with my spin control.

So, i am looking for a message which will notify me when left or arrow arrow is invoked on spin control.
AnswerRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Jochen Arndt22-Mar-18 4:32
professionalJochen Arndt22-Mar-18 4:32 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Sampath57922-Mar-18 7:31
Sampath57922-Mar-18 7:31 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Victor Nijegorodov22-Mar-18 8:37
Victor Nijegorodov22-Mar-18 8:37 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Sampath57922-Mar-18 17:10
Sampath57922-Mar-18 17:10 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Victor Nijegorodov22-Mar-18 21:45
Victor Nijegorodov22-Mar-18 21:45 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Jochen Arndt22-Mar-18 9:46
professionalJochen Arndt22-Mar-18 9:46 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Sampath57922-Mar-18 17:17
Sampath57922-Mar-18 17:17 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Victor Nijegorodov22-Mar-18 21:52
Victor Nijegorodov22-Mar-18 21:52 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Sampath57923-Mar-18 0:22
Sampath57923-Mar-18 0:22 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Jochen Arndt22-Mar-18 22:00
professionalJochen Arndt22-Mar-18 22:00 
GeneralRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Sampath57923-Mar-18 0:22
Sampath57923-Mar-18 0:22 
AnswerRe: Notifiation Messages for CSpinButtonCtrl in MFC Pin
Victor Nijegorodov22-Mar-18 4:38
Victor Nijegorodov22-Mar-18 4:38 
QuestionQR CODE IN ARABIC Pin
Member 1054250021-Mar-18 6:13
Member 1054250021-Mar-18 6:13 
AnswerRe: QR CODE IN ARABIC Pin
Richard MacCutchan21-Mar-18 6:44
mveRichard MacCutchan21-Mar-18 6:44 
GeneralRe: QR CODE IN ARABIC Pin
Member 1054250021-Mar-18 6:59
Member 1054250021-Mar-18 6:59 
GeneralRe: QR CODE IN ARABIC Pin
leon de boer21-Mar-18 16:44
leon de boer21-Mar-18 16:44 
AnswerRe: QR CODE IN ARABIC Pin
Daniel Pfeffer21-Mar-18 9:37
professionalDaniel Pfeffer21-Mar-18 9:37 

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.