Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Spin control , it's possible to know when the control is released? Pin
timbk30-Nov-10 8:33
timbk30-Nov-10 8:33 
GeneralRe: Spin control , it's possible to know when the control is released? Pin
Code-o-mat30-Nov-10 8:43
Code-o-mat30-Nov-10 8:43 
GeneralRe: Spin control , it's possible to know when the control is released? Pin
timbk30-Nov-10 9:29
timbk30-Nov-10 9:29 
GeneralRe: Spin control , it's possible to know when the control is released? Pin
Code-o-mat30-Nov-10 10:10
Code-o-mat30-Nov-10 10:10 
GeneralRe: Spin control , it's possible to know when the control is released? Pin
timbk30-Nov-10 10:18
timbk30-Nov-10 10:18 
GeneralRe: Spin control , it's possible to know when the control is released? Pin
Code-o-mat30-Nov-10 10:33
Code-o-mat30-Nov-10 10:33 
GeneralRe: Spin control , it's possible to know when the control is released? Pin
timbk30-Nov-10 12:04
timbk30-Nov-10 12:04 
AnswerSolved: Spin control , it's possible to know when the control is released? Pin
timbk30-Nov-10 15:16
timbk30-Nov-10 15:16 
Big Grin | :-D thanks for your time Code-o-mate Thumbs Up | :thumbsup: , finally google and 5 hours of work give me the solution, one of them at least. This how it looks now:
Header file
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);


Source file
Message map
ON_WM_VSCROLL()


And handler
void CCalibracionDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) 
{
  if(SB_ENDSCROLL == nSBCode)
  {
      if(pScrollBar->m_hWnd == m_Spin1m_hWnd)
      {
            // the position was not changed, so...
            AfxMessageBox( _T("Termino el Spin1!!!") );
            return;
      }
      if(pScrollBar->m_hWnd == m_Spin2.m_hWnd)
      {
            // the position was not changed, so...
            AfxMessageBox( _T("Termino el Spin2!!!") );
            return;
      }
  }
}

GeneralRe: Solved: Spin control , it's possible to know when the control is released? Pin
Code-o-mat30-Nov-10 21:46
Code-o-mat30-Nov-10 21:46 
GeneralRe: Solved: Spin control , it's possible to know when the control is released? Pin
Code-o-mat30-Nov-10 21:46
Code-o-mat30-Nov-10 21:46 
QuestionNew'ing a pointer to an array [Solved] Pin
Skippums29-Nov-10 7:36
Skippums29-Nov-10 7:36 
AnswerRe: New'ing a pointer to an array Pin
«_Superman_»29-Nov-10 7:53
professional«_Superman_»29-Nov-10 7:53 
GeneralRe: New'ing a pointer to an array Pin
Skippums29-Nov-10 8:02
Skippums29-Nov-10 8:02 
GeneralRe: New'ing a pointer to an array [modified] Pin
«_Superman_»29-Nov-10 8:34
professional«_Superman_»29-Nov-10 8:34 
GeneralRe: New'ing a pointer to an array Pin
Skippums29-Nov-10 9:18
Skippums29-Nov-10 9:18 
GeneralRe: New'ing a pointer to an array Pin
«_Superman_»29-Nov-10 9:20
professional«_Superman_»29-Nov-10 9:20 
GeneralRe: New'ing a pointer to an array Pin
Skippums29-Nov-10 9:34
Skippums29-Nov-10 9:34 
GeneralRe: New'ing a pointer to an array Pin
«_Superman_»29-Nov-10 9:36
professional«_Superman_»29-Nov-10 9:36 
QuestionRestrict SDI to Resize Pin
john563229-Nov-10 3:37
john563229-Nov-10 3:37 
AnswerRe: Restrict SDI to Resize Pin
Cedric Moonen29-Nov-10 4:14
Cedric Moonen29-Nov-10 4:14 
GeneralRe: Restrict SDI to Resize Pin
john563229-Nov-10 4:36
john563229-Nov-10 4:36 
GeneralRe: Restrict SDI to Resize Pin
User 74293381-Dec-10 1:07
professionalUser 74293381-Dec-10 1:07 
Question/MT Problem. Pin
gothic_coder29-Nov-10 2:37
gothic_coder29-Nov-10 2:37 
Questionerror PRJ0003 : Error spawning 'cmd.exe' Pin
msr_codeproject29-Nov-10 2:37
msr_codeproject29-Nov-10 2:37 
AnswerRe: error PRJ0003 : Error spawning 'cmd.exe' Pin
gothic_coder29-Nov-10 2:39
gothic_coder29-Nov-10 2:39 

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.