Click here to Skip to main content
15,908,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: An struct declared within another struct. Pin
Cedric Moonen12-Feb-09 20:48
Cedric Moonen12-Feb-09 20:48 
GeneralRe: An struct declared within another struct. Pin
Arman S.12-Feb-09 20:53
Arman S.12-Feb-09 20:53 
GeneralRe: An struct declared within another struct. Pin
Cedric Moonen12-Feb-09 21:03
Cedric Moonen12-Feb-09 21:03 
AnswerRe: An struct declared within another struct. Pin
Cedric Moonen12-Feb-09 20:35
Cedric Moonen12-Feb-09 20:35 
AnswerRe: An struct declared within another struct. Pin
Cedric Moonen12-Feb-09 20:45
Cedric Moonen12-Feb-09 20:45 
GeneralRe: An struct declared within another struct. [modified] Pin
Comp_Users12-Feb-09 21:13
Comp_Users12-Feb-09 21:13 
GeneralRe: An struct declared within another struct. Pin
Cedric Moonen12-Feb-09 21:21
Cedric Moonen12-Feb-09 21:21 
QuestionA Question about Buttons Pin
BobInNJ12-Feb-09 14:43
BobInNJ12-Feb-09 14:43 
First, I want to thank the group for their responses to my last post. Now, I have it working. Here is what my code looks like:

<br />
     button1.Create( TEXT( "xxx" ),<br />
		WS_VISIBLE|WS_CHILD|WS_GROUP|BS_AUTORADIOBUTTON,<br />
			CRect( 250, 50+charHeight+6, 250 + 9*charWidth, 50+2*(charHeight+6)), this, 2500 );<br />
<br />
<br />
	button2.Create( TEXT( "yyyyyy" ),<br />
		WS_VISIBLE|WS_CHILD|BS_AUTORADIOBUTTON,<br />
			CRect( 250, 50+2*(charHeight+6), 250 + 9*charWidth, 50+3*(charHeight+6)), this, 2500 );<br />


The problem is that when it draws the text of the button, it also draws a different background. I would like the background of the buttons to be the same as the backgrounds of the window. Currently, I do not change the background of my main window. I am thinking that one solution would be to put the text out by calling the method TextOut.


Thanks

Bob
AnswerRe: A Question about Buttons Pin
Arman S.12-Feb-09 22:38
Arman S.12-Feb-09 22:38 
GeneralRe: A Question about Buttons Pin
BobInNJ13-Feb-09 5:16
BobInNJ13-Feb-09 5:16 
GeneralRe: A Question about Buttons Pin
Arman S.14-Feb-09 0:49
Arman S.14-Feb-09 0:49 
GeneralRe: A Question about Buttons Pin
BobInNJ14-Feb-09 4:47
BobInNJ14-Feb-09 4:47 
GeneralRe: A Question about Buttons Pin
Arman S.14-Feb-09 6:31
Arman S.14-Feb-09 6:31 
GeneralRe: A Question about Buttons Pin
BobInNJ14-Feb-09 6:49
BobInNJ14-Feb-09 6:49 
GeneralRe: A Question about Buttons Pin
Arman S.14-Feb-09 7:09
Arman S.14-Feb-09 7:09 
GeneralRe: A Question about Buttons Pin
BobInNJ14-Feb-09 11:52
BobInNJ14-Feb-09 11:52 
QuestionAbout CComboBox::GetLBText() Pin
Chrissie.ja12-Feb-09 13:58
Chrissie.ja12-Feb-09 13:58 
AnswerRe: About CComboBox::GetLBText() Pin
«_Superman_»12-Feb-09 17:48
professional«_Superman_»12-Feb-09 17:48 
QuestionHow to get this to work correctly :( Pin
edgar 8812-Feb-09 13:52
edgar 8812-Feb-09 13:52 
Questionrand() is not random Pin
includeh1012-Feb-09 13:37
includeh1012-Feb-09 13:37 
AnswerRe: rand() is not random Pin
BobInNJ12-Feb-09 14:50
BobInNJ12-Feb-09 14:50 
AnswerRe: rand() is not random Pin
«_Superman_»12-Feb-09 18:01
professional«_Superman_»12-Feb-09 18:01 
AnswerRe: rand() is not random Pin
Cedric Moonen12-Feb-09 20:23
Cedric Moonen12-Feb-09 20:23 
AnswerRe: rand() is not random Pin
Arman S.12-Feb-09 20:45
Arman S.12-Feb-09 20:45 
AnswerRe: rand() is not random Pin
Stuart Dootson12-Feb-09 22:02
professionalStuart Dootson12-Feb-09 22:02 

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.