Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionto Run UNIX based EXE [MKS] through Shell in VC++ application Pin
kulkarniquiet11-May-08 14:33
kulkarniquiet11-May-08 14:33 
QuestionRe: to Run UNIX based EXE [MKS] through Shell in VC++ application Pin
David Crow11-May-08 16:44
David Crow11-May-08 16:44 
AnswerRe: to Run UNIX based EXE [MKS] through Shell in VC++ application Pin
kulkarniquiet11-May-08 21:34
kulkarniquiet11-May-08 21:34 
QuestionRe: to Run UNIX based EXE [MKS] through Shell in VC++ application Pin
David Crow12-May-08 2:44
David Crow12-May-08 2:44 
AnswerRe: to Run UNIX based EXE [MKS] through Shell in VC++ application Pin
kulkarniquiet12-May-08 17:00
kulkarniquiet12-May-08 17:00 
QuestionRe: to Run UNIX based EXE [MKS] through Shell in VC++ application Pin
David Crow13-May-08 3:35
David Crow13-May-08 3:35 
QuestionMenu item in Visual C++ greyed out and doesn't send command message Pin
Bluesray11-May-08 11:40
Bluesray11-May-08 11:40 
QuestionHow do I code Spin Control dialog button Pin
Kwanalouie11-May-08 9:08
Kwanalouie11-May-08 9:08 
I'm using Visual C++ 6.0 on windows XP. (I'm new to C++/MFC) I want to write code that uses a spin control to increment a floating point value by some delta. When I add a spin control to my dialog window, in the class wizard I get only two choices when the IDC_SPIN (name ID I gave the spin object) is selected in Class Wizard message map - either UDN_DELTAPOS as a message or NM_OUTOFMEMORY message. If I tell class wizard to implement a function with UDN_DELTAPOS message, I get the code generated by the wizard as:

void CEditsDlg::OnDeltaposSpin1(NMHDR* pNMHDR, LRESULT* pResult)
{
NM_UPDOWN* pNMUpDown = (NM_UPDOWN*)pNMHDR;
// TODO: Add your control notification handler code here
*pResult = 0;
}
That code is called each time the mouse is pressed while on the arrow, but I can't tell whether the up arrow or the down arrow is pressed. So if I use that routine, I don't know whether to increment or decrement a value like I want to.

All I want to do is when someone puts the mouse on the up arrow of the spin control in the dialog window, I want to increment a value. And if they put the mouse on the down arrow of the spin control, it decrements the value. I don't see how to code this.
Thanks ahead of time.
AnswerRe: How do I code Spin Control dialog button Pin
JudyL_MD11-May-08 12:23
JudyL_MD11-May-08 12:23 
AnswerRe: How do I code Spin Control dialog button Pin
David Crow11-May-08 16:42
David Crow11-May-08 16:42 
QuestionProblem with Domodal overide behavior Pin
tom groezer11-May-08 8:25
tom groezer11-May-08 8:25 
AnswerRe: Problem with Domodal overide behavior Pin
Mark Salsbery11-May-08 11:10
Mark Salsbery11-May-08 11:10 
AnswerRe: Problem with Domodal overide behavior Pin
Mark Salsbery11-May-08 12:11
Mark Salsbery11-May-08 12:11 
GeneralRe: Problem with Domodal overide behavior Pin
Nelek11-May-08 13:02
protectorNelek11-May-08 13:02 
GeneralRe: Problem with Domodal overide behavior Pin
tom groezer11-May-08 21:16
tom groezer11-May-08 21:16 
GeneralRe: Problem with Domodal overide behavior Pin
Mark Salsbery12-May-08 5:16
Mark Salsbery12-May-08 5:16 
QuestionProblem with Domodal overide behavior Pin
tom groezer11-May-08 8:24
tom groezer11-May-08 8:24 
AnswerRe: Problem with Domodal overide behavior Pin
Nelek11-May-08 13:01
protectorNelek11-May-08 13:01 
QuestionTPM in windows XP. Pin
Green Fuze11-May-08 4:09
Green Fuze11-May-08 4:09 
QuestionRe: TPM in windows XP. Pin
David Crow11-May-08 16:51
David Crow11-May-08 16:51 
AnswerRe: TPM in windows XP. Pin
Green Fuze12-May-08 0:21
Green Fuze12-May-08 0:21 
QuestionIs there any way to remove process from Task manager ? Pin
Yanshof11-May-08 2:45
Yanshof11-May-08 2:45 
AnswerRe: Is there any way to remove process from Task manager ? Pin
Hamid_RT11-May-08 4:26
Hamid_RT11-May-08 4:26 
GeneralRe: Is there any way to remove process from Task manager ? Pin
Yanshof11-May-08 4:33
Yanshof11-May-08 4:33 
GeneralRe: Is there any way to remove process from Task manager ? Pin
Hamid_RT11-May-08 5:07
Hamid_RT11-May-08 5:07 

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.