Click here to Skip to main content
15,920,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: A Doubt Pin
Niklas L17-Jun-10 8:08
Niklas L17-Jun-10 8:08 
GeneralRe: A Doubt Pin
Chris Losinger17-Jun-10 9:18
professionalChris Losinger17-Jun-10 9:18 
GeneralRe: A Doubt Pin
Niklas L17-Jun-10 9:20
Niklas L17-Jun-10 9:20 
GeneralRe: A Doubt Pin
Chris Losinger17-Jun-10 9:23
professionalChris Losinger17-Jun-10 9:23 
GeneralRe: A Doubt Pin
Aescleal17-Jun-10 9:32
Aescleal17-Jun-10 9:32 
GeneralRe: A Doubt Pin
Niklas L17-Jun-10 9:47
Niklas L17-Jun-10 9:47 
AnswerRe: A Doubt Pin
Richard MacCutchan17-Jun-10 9:47
mveRichard MacCutchan17-Jun-10 9:47 
AnswerRe: A Doubt Pin
Stephen Hewitt17-Jun-10 15:06
Stephen Hewitt17-Jun-10 15:06 
QuestionRe: A Doubt Pin
JobinG20-Jun-10 19:08
JobinG20-Jun-10 19:08 
AnswerRe: A Doubt Pin
Stephen Hewitt21-Jun-10 15:00
Stephen Hewitt21-Jun-10 15:00 
AnswerRe: A Doubt Pin
Tim Craig17-Jun-10 17:54
Tim Craig17-Jun-10 17:54 
QuestionCAsyncSocket server questions Pin
MikeRWinter17-Jun-10 7:56
MikeRWinter17-Jun-10 7:56 
AnswerRe: CAsyncSocket server questions Pin
Moak17-Jun-10 10:17
Moak17-Jun-10 10:17 
QuestionCTabCtrl problem Pin
Spawn@Melmac17-Jun-10 7:54
Spawn@Melmac17-Jun-10 7:54 
AnswerRe: CTabCtrl problem Pin
Niklas L17-Jun-10 8:13
Niklas L17-Jun-10 8:13 
GeneralRe: CTabCtrl problem Pin
Spawn@Melmac17-Jun-10 8:54
Spawn@Melmac17-Jun-10 8:54 
Questionhow to convert vector of doubles to a variant type Pin
b-rad31117-Jun-10 4:55
b-rad31117-Jun-10 4:55 
AnswerRe: how to convert vector of doubles to a variant type Pin
Code-o-mat17-Jun-10 6:05
Code-o-mat17-Jun-10 6:05 
GeneralRe: how to convert vector of doubles to a variant type Pin
b-rad31117-Jun-10 6:06
b-rad31117-Jun-10 6:06 
QuestionCustom Radio button Pin
AbhiHcl17-Jun-10 3:26
AbhiHcl17-Jun-10 3:26 
AnswerRe: Custom Radio button Pin
Code-o-mat17-Jun-10 4:32
Code-o-mat17-Jun-10 4:32 
GeneralRe: Custom Radio button Pin
AbhiHcl17-Jun-10 19:39
AbhiHcl17-Jun-10 19:39 
GeneralRe: Custom Radio button Pin
Code-o-mat17-Jun-10 21:45
Code-o-mat17-Jun-10 21:45 
What do you mean by "not able to set it"? You use something like ::SetWindowLong(hRadioBtn, GWL_STYLE, ::GetWindowLong(hRadioBtn, GWL_STYLE) | WS_GROUP) but it gives you an error code? You can't set the group style in the resource editor? You can set it but it just does not work? If it is the later one, what happens? Is your radio owner-drawn (has the BS_OWNERDRAW) style? If no, then i guess BS_AUTORADIOBUTTON should make it work. If yes, then, since according to the documentation[^] BS_OWNERDRAW can't be combined with anything else, you will have to provide this functionality manually. You can try using CheckRadioButton[^], i don't know if it works for owner-drawn buttons or not. Other than that what you can do i guess is use GetNextWindow[^] to walk the controls around the radio that has been clicked and find the other radios inside the same group and check/uncheck them.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Computers don't kill programs, users kill programs <
> "It doesn't work, fix it" does not qualify as a bug report. <

GeneralRe: Custom Radio button Pin
AbhiHcl18-Jun-10 3:17
AbhiHcl18-Jun-10 3:17 
GeneralRe: Custom Radio button Pin
Code-o-mat18-Jun-10 3:24
Code-o-mat18-Jun-10 3:24 

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.