Re: engineering a global type a variable...



RAB wrote:
I am sorry, as I didn't make that clear. (dialog B) and (dialog C)
are not open at the same time. I want the user to click check boxes
on the administrator dialog (dialog B) and then close the dialog.
Depending on the users choice, this will affect a variable on (dialog
C). Specifically, (dialog C) has a timer that I want to change based
on the users choice on the administrative (diaolog B).

RAB:

Well, you want to store the values in these Dialog B check boxes in BOOL member variables of Dialog B, retrieve them after B closes, and pass them to C.

It is never necessary to use global variables to do this kind of thing.

This is not really an MFC issue; it is an object communication issue.

--
David Wilkinson
Visual C++ MVP
.



Relevant Pages

  • Re: Problem with System Configuration Utility
    ... I think he was checking boxes he didn't want to run and unchecking ... requirement to log on as an Administrator when I already did log on as an ... Ron Martell Duncan B.C. Canada ... On-Line Help Computer Service ...
    (microsoft.public.windowsxp.accessibility)
  • Re: writeable ntfs
    ... > I have seen ntfs screw up big time on a windows xp boxes, ... This tends to happen if you do something like delete the Administrator ...
    (comp.os.linux.setup)
  • Re: ADMT - problem...
    ... Check to see if the account that is doing the migration is an administrator ... on both the old and new boxes. ... Please no e-mails, any questions should be posted in the NewsGroup ...
    (microsoft.public.windows.server.active_directory)
  • Re: engineering a global type a variable...
    ... on the administrator dialog and then close the dialog. ... Depending on the users choice, this will affect a variable on (dialog ... has a timer that I want to change based ... on the users choice on the administrative (diaolog B). ...
    (microsoft.public.vc.mfc)
  • Permissions will not stick
    ... So, to give the administrator full control, I right click on ... the boxes become empty. ... have the increased permissions stick. ...
    (microsoft.public.windowsxp.perform_maintain)