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

C / C++ / MFC

 
GeneralRe: Modeless dialog problem Pin
Ernesto D.20-May-04 22:36
Ernesto D.20-May-04 22:36 
GeneralHTML help in Visual C++ project Pin
krugger20-May-04 20:51
krugger20-May-04 20:51 
GeneralRe: HTML help in Visual C++ project Pin
Dennis Gourjii21-May-04 3:11
Dennis Gourjii21-May-04 3:11 
GeneralRe: HTML help in Visual C++ project Pin
*Dreamz21-May-04 3:55
*Dreamz21-May-04 3:55 
GeneralHelp!automatically read the file Pin
jfk_lili20-May-04 19:56
jfk_lili20-May-04 19:56 
GeneralRe: Help!automatically read the file Pin
mirex20-May-04 21:23
mirex20-May-04 21:23 
GeneralRe: Help!automatically read the file Pin
Steve S21-May-04 0:29
Steve S21-May-04 0:29 
GeneralMenu Controls Pin
Eversman20-May-04 18:39
Eversman20-May-04 18:39 
Hey,

I have this menu, and I have the options to subtract a certain number from a value selected from a combo box which is displayed in an edit box, and when you select the subtract function, depending on which one you use, it is to subtract that amount from the edit box variable.

Here is the code for them.

<br />
void CDEPDlg::OnOptionsAltertimeTotalcyclingSubtract10minutes() <br />
{<br />
	// TODO: Add your command handler code here<br />
	if(totalcycling<=0)<br />
	{<br />
		totalcycling-=10;<br />
	}<br />
}<br />


that is jsut one of the options, I figure that if I can get one working I can get the others working too.

The question is, It is not subtractiong the amount, how can I get it to subtract the amount?

Any help would be great.

Thanks
GeneralRe: Menu Controls Pin
*Dreamz20-May-04 19:03
*Dreamz20-May-04 19:03 
Generalcompiler setting in command line. Pin
Anthony_Yio20-May-04 18:07
Anthony_Yio20-May-04 18:07 
GeneralRe: compiler setting in command line. Pin
bikram singh20-May-04 19:42
bikram singh20-May-04 19:42 
GeneralMFC MDI APP CRASHES Pin
MFC_R_O_O_K_I_E20-May-04 15:53
MFC_R_O_O_K_I_E20-May-04 15:53 
Generalinvoke doc/view from a dialog Pin
-alok-20-May-04 15:46
suss-alok-20-May-04 15:46 
GeneralRe: invoke doc/view from a dialog Pin
Johan Rosengren21-May-04 5:58
Johan Rosengren21-May-04 5:58 
QuestionCan I post a message to a dll from a dll? Pin
freehawk20-May-04 15:13
freehawk20-May-04 15:13 
AnswerRe: Can I post a message to a dll from a dll? Pin
bryce20-May-04 15:19
bryce20-May-04 15:19 
GeneralRe: Can I post a message to a dll from a dll? Pin
freehawk20-May-04 15:41
freehawk20-May-04 15:41 
GeneralRe: Can I post a message to a dll from a dll? Pin
bryce20-May-04 16:14
bryce20-May-04 16:14 
GeneralRe: Can I post a message to a dll from a dll? Pin
freehawk20-May-04 16:48
freehawk20-May-04 16:48 
GeneralRe: Can I post a message to a dll from a dll? Pin
Jason Henderson20-May-04 17:28
Jason Henderson20-May-04 17:28 
GeneralRe: Can I post a message to a dll from a dll? Pin
bikram singh20-May-04 19:29
bikram singh20-May-04 19:29 
GeneralRe: Can I post a message to a dll from a dll? Pin
freehawk13-Jul-04 0:36
freehawk13-Jul-04 0:36 
AnswerRe: Can I post a message to a dll from a dll? Pin
David Crow21-May-04 3:11
David Crow21-May-04 3:11 
Generalusing HttpSend Request instead of InternetOpenUrl Pin
danLenehan20-May-04 13:47
danLenehan20-May-04 13:47 
GeneralRe: using HttpSend Request instead of InternetOpenUrl Pin
Hans Ruck20-May-04 21:44
Hans Ruck20-May-04 21:44 

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.