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

C / C++ / MFC

 
GeneralWin98 DDK -->XP Pin
Kuniva27-Jul-03 10:48
Kuniva27-Jul-03 10:48 
GeneralRe: Win98 DDK -->XP Pin
J. Dunlap27-Jul-03 10:50
J. Dunlap27-Jul-03 10:50 
GeneralRe: Win98 DDK -->XP Pin
Kuniva27-Jul-03 10:58
Kuniva27-Jul-03 10:58 
GeneralRe: Win98 DDK -->XP Pin
Kuniva27-Jul-03 12:14
Kuniva27-Jul-03 12:14 
GeneralRe: Win98 DDK -->XP Pin
Beer2627-Jul-03 12:16
Beer2627-Jul-03 12:16 
GeneralRe: Win98 DDK -->XP Pin
Alexander M.,27-Jul-03 12:59
Alexander M.,27-Jul-03 12:59 
GeneralRe: Win98 DDK -->XP Pin
Kuniva27-Jul-03 23:22
Kuniva27-Jul-03 23:22 
QuestionHow to access a local variable from a different Dialog box Pin
Deepak Samuel27-Jul-03 10:30
Deepak Samuel27-Jul-03 10:30 
Hi ,
i have a Dialog box which has a combobox and which on clicking a button retrieves the index of the selected item and stores in a integer variable, now how do I access this variable from another dialog box?..

for example:
void CMyprogDlg::OnOK()
{
int com = m_com1.GetCurSel();
}
How do I access the integer variable 'com'from another dialog box? It would be great if someone sends some example source codes.

Thanks,



Deepak Samuel
AnswerRe: How to access a local variable from a different Dialog box Pin
Joe Woodbury27-Jul-03 10:43
professionalJoe Woodbury27-Jul-03 10:43 
Generalcreating virtual directory in vc++ Pin
NewSilence27-Jul-03 10:08
NewSilence27-Jul-03 10:08 
QuestionFormView and MDI ????? Pin
_skidrow_vn_27-Jul-03 8:24
_skidrow_vn_27-Jul-03 8:24 
GeneralError on OLECHAR FAR* Pin
Small Rat27-Jul-03 5:49
Small Rat27-Jul-03 5:49 
GeneralRe: Error on OLECHAR FAR* Pin
Beer2627-Jul-03 6:01
Beer2627-Jul-03 6:01 
GeneralRe: Error on OLECHAR FAR* Pin
Small Rat27-Jul-03 6:15
Small Rat27-Jul-03 6:15 
GeneralRe: Error on OLECHAR FAR* Pin
Beer2627-Jul-03 6:23
Beer2627-Jul-03 6:23 
GeneralRe: Error on OLECHAR FAR* Pin
Small Rat27-Jul-03 11:01
Small Rat27-Jul-03 11:01 
GeneralRe: Error on OLECHAR FAR* Pin
peterchen27-Jul-03 7:24
peterchen27-Jul-03 7:24 
GeneralRe: Error on OLECHAR FAR* Pin
Small Rat27-Jul-03 11:17
Small Rat27-Jul-03 11:17 
QuestionHow to lock an edit box? Pin
Aidman27-Jul-03 5:26
Aidman27-Jul-03 5:26 
AnswerRe: How to lock an edit box? Pin
Beer2627-Jul-03 5:51
Beer2627-Jul-03 5:51 
GeneralRe: How to lock an edit box? Pin
peterchen27-Jul-03 8:32
peterchen27-Jul-03 8:32 
GeneralRe: How to lock an edit box? Pin
Beer2627-Jul-03 9:09
Beer2627-Jul-03 9:09 
GeneralRe: How to lock an edit box? Pin
peterchen27-Jul-03 9:45
peterchen27-Jul-03 9:45 
AnswerRe: How to lock an edit box? Pin
peterchen27-Jul-03 7:29
peterchen27-Jul-03 7:29 
AnswerRe: How to lock an edit box? Pin
Erik Funkenbusch27-Jul-03 13:54
Erik Funkenbusch27-Jul-03 13:54 

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.