Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: GmfBridge dynamic clip play from the list problem Pin
CPallini26-Jul-09 21:09
mveCPallini26-Jul-09 21:09 
GeneralRe: GmfBridge dynamic clip play from the list problem Pin
raj157626-Jul-09 21:15
raj157626-Jul-09 21:15 
GeneralRe: GmfBridge dynamic clip play from the list problem Pin
CPallini26-Jul-09 21:32
mveCPallini26-Jul-09 21:32 
AnswerRe: GmfBridge dynamic clip play from the list problem Pin
manutechalpy3086-Aug-09 4:38
manutechalpy3086-Aug-09 4:38 
GeneralRe: GmfBridge dynamic clip play from the list problem Pin
Member 24062014-Aug-10 1:05
Member 24062014-Aug-10 1:05 
GeneralRe: GmfBridge dynamic clip play from the list problem Pin
manutechalpy30814-Aug-10 4:11
manutechalpy30814-Aug-10 4:11 
QuestionPlease help in c++ Pin
Neil Jigger26-Jul-09 16:41
Neil Jigger26-Jul-09 16:41 
AnswerRe: Please help in c++ Pin
«_Superman_»26-Jul-09 17:07
professional«_Superman_»26-Jul-09 17:07 
I'm assuming you're using MFC.

Make sure the radio buttons belong to the same group.
You can do this by setting the group property of the first radio button to true.
And the rest of the radio button must follow the first in order.

Now associate an int variable with the first radio button by right clicking on it and selecting "Add Variable".
Similarly associate an int variable with the edit box.

In the button click handler, first call UpdateData.
This will update the UI selection to the variables just added.
Check the value of the radio button variable to determine the option selected.
It will be 0 for first, 1 for second and so on.

Do your calculation and set the result to the variable associated with the edit box.
Finally call UpdateData(FALSE) to set the variables back to the UI.

«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: Please help in c++ (Superman) Pin
Neil Jigger26-Jul-09 17:16
Neil Jigger26-Jul-09 17:16 
GeneralRe: Please help in c++ (Superman) Pin
Chandrasekharan P26-Jul-09 18:38
Chandrasekharan P26-Jul-09 18:38 
GeneralRe: Please help in c++ (Superman) Pin
Neil Jigger26-Jul-09 19:35
Neil Jigger26-Jul-09 19:35 
GeneralRe: Please help in c++ (Superman) Pin
Chandrasekharan P26-Jul-09 20:21
Chandrasekharan P26-Jul-09 20:21 
GeneralRe: Please help in c++ (Superman) Pin
Neil Jigger26-Jul-09 20:27
Neil Jigger26-Jul-09 20:27 
GeneralRe: Please help in c++ (Superman) Pin
Chandrasekharan P26-Jul-09 20:33
Chandrasekharan P26-Jul-09 20:33 
GeneralRe: Please help in c++ (Superman) Pin
David Crow27-Jul-09 3:39
David Crow27-Jul-09 3:39 
GeneralRe: Please help in c++ (Superman) Pin
Neil Jigger28-Jul-09 20:16
Neil Jigger28-Jul-09 20:16 
QuestionRe: Please help in c++ (Superman) Pin
David Crow29-Jul-09 2:39
David Crow29-Jul-09 2:39 
QuestionHow to Limit maximum and minimize size of dockable pane Pin
jeet51126-Jul-09 15:33
jeet51126-Jul-09 15:33 
RantRe: How to Limit maximum and minimize size of dockable pane Pin
Adam Roderick J26-Jul-09 19:14
Adam Roderick J26-Jul-09 19:14 
AnswerRe: How to Limit maximum and minimize size of dockable pane Pin
Iain Clarke, Warrior Programmer27-Jul-09 0:55
Iain Clarke, Warrior Programmer27-Jul-09 0:55 
GeneralRe: How to Limit maximum and minimize size of dockable pane Pin
jeet51128-Jul-09 18:14
jeet51128-Jul-09 18:14 
Questionhow to find Textbox value in the DirectUI design software Pin
ChinaTJBoy26-Jul-09 15:24
ChinaTJBoy26-Jul-09 15:24 
AnswerRe: how to find Textbox value in the DirectUI design software Pin
Chandrasekharan P26-Jul-09 19:07
Chandrasekharan P26-Jul-09 19:07 
GeneralRe: how to find Textbox value in the DirectUI design software Pin
ChinaTJBoy27-Jul-09 20:24
ChinaTJBoy27-Jul-09 20:24 
QuestionCopying a dialog resource between projects with MSDEV 2008 Pin
softwaremonkey26-Jul-09 11:23
softwaremonkey26-Jul-09 11:23 

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.