|
-
October 1st, 2011, 09:53 AM
#5
Re: MFC Concept Help- Radio Buttons
I don't think I really understand why your design has to be like this but if you really need to check the radio button like that you can use GetDlgItem http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx.
A better way in my opinion is to add code that handles the radio buttons (in the GUI code) and let that code refine the information into an enum or similar to be accessed in the worker thread. Don't forget to make it thread safe http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx
Doing it that way makes it easier if you later on decide to replace the radio buttons with for instance a combox.
Last edited by S_M_A; October 1st, 2011 at 10:23 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|