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

C / C++ / MFC

 
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 
QuestionC2491 Pin
T.RATHA KRISHNAN17-Jun-10 1:50
T.RATHA KRISHNAN17-Jun-10 1:50 
AnswerRe: C2491 Pin
Niklas L17-Jun-10 8:05
Niklas L17-Jun-10 8:05 
Questionplaying video file Pin
shiv@nand17-Jun-10 0:32
shiv@nand17-Jun-10 0:32 
AnswerRe: playing video file Pin
rp_suman17-Jun-10 7:47
rp_suman17-Jun-10 7:47 
QuestionC2664 Pin
T.RATHA KRISHNAN16-Jun-10 23:26
T.RATHA KRISHNAN16-Jun-10 23:26 
AnswerRe: C2664 [modified] Pin
Cedric Moonen16-Jun-10 23:41
Cedric Moonen16-Jun-10 23:41 
QuestionRe: C2664 Pin
T.RATHA KRISHNAN16-Jun-10 23:52
T.RATHA KRISHNAN16-Jun-10 23:52 
AnswerRe: C2664 Pin
Cedric Moonen16-Jun-10 23:56
Cedric Moonen16-Jun-10 23:56 
QuestionAccess Global Variable. Pin
gothic_coder16-Jun-10 23:14
gothic_coder16-Jun-10 23:14 
AnswerRe: Access Global Variable. Pin
CPallini16-Jun-10 23:20
mveCPallini16-Jun-10 23:20 
GeneralRe: Access Global Variable. Pin
Luc Pattyn17-Jun-10 2:10
sitebuilderLuc Pattyn17-Jun-10 2:10 
GeneralRe: Access Global Variable. [modified] Pin
CPallini17-Jun-10 2:14
mveCPallini17-Jun-10 2:14 
GeneralRe: Access Global Variable. Pin
Luc Pattyn17-Jun-10 2:22
sitebuilderLuc Pattyn17-Jun-10 2:22 
GeneralRe: Access Global Variable. Pin
CPallini17-Jun-10 2:39
mveCPallini17-Jun-10 2:39 
GeneralRe: Access Global Variable. Pin
Luc Pattyn17-Jun-10 2:43
sitebuilderLuc Pattyn17-Jun-10 2:43 

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.