Click here to Skip to main content
15,917,516 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: General C++ question on constructors Pin
Emilio Garavaglia18-Jan-05 21:56
Emilio Garavaglia18-Jan-05 21:56 
GeneralRe: General C++ question on constructors Pin
markkuk19-Jan-05 2:02
markkuk19-Jan-05 2:02 
GeneralRe: General C++ question on constructors Pin
Mike Dimmick19-Jan-05 2:47
Mike Dimmick19-Jan-05 2:47 
QuestionGet FileName of a file if know position ?? Pin
Le Hong Anh18-Jan-05 19:33
Le Hong Anh18-Jan-05 19:33 
QuestionHow to integrate background color with button control Pin
phijophlip18-Jan-05 19:23
phijophlip18-Jan-05 19:23 
AnswerRe: How to integrate background color with button control Pin
Aamir Butt18-Jan-05 20:26
Aamir Butt18-Jan-05 20:26 
AnswerRe: How to integrate background color with button control Pin
Aamir Butt18-Jan-05 20:49
Aamir Butt18-Jan-05 20:49 
GeneralAutomated press and release of keys in Keyboard and GetKeyState of keyboard Pin
vidhyas18-Jan-05 19:00
vidhyas18-Jan-05 19:00 
Generalserial numer of the CD Pin
includeh1018-Jan-05 18:40
includeh1018-Jan-05 18:40 
GeneralRe: serial numer of the CD Pin
Dudi Avramov20-Jan-05 0:35
Dudi Avramov20-Jan-05 0:35 
QuestionHow can i change the background color of a button control in vc++ Pin
phijophlip18-Jan-05 17:24
phijophlip18-Jan-05 17:24 
AnswerRe: How can i change the background color of a button control in vc++ Pin
Selvam R18-Jan-05 18:09
professionalSelvam R18-Jan-05 18:09 
GeneralRe: How can i change the background color of a button control in vc++ Pin
ThatsAlok18-Jan-05 18:26
ThatsAlok18-Jan-05 18:26 
AnswerRe: How can i change the background color of a button control in vc++ Pin
ThatsAlok18-Jan-05 18:10
ThatsAlok18-Jan-05 18:10 
GeneralRe: How can i change the background color of a button control in vc++ Pin
Selvam R18-Jan-05 22:30
professionalSelvam R18-Jan-05 22:30 
Questionwhat is the use of this pointer ? Pin
phijophlip18-Jan-05 17:22
phijophlip18-Jan-05 17:22 
AnswerRe: what is the use of this pointer ? Pin
Selvam R18-Jan-05 18:08
professionalSelvam R18-Jan-05 18:08 
AnswerRe: what is the use of this pointer ? Pin
David Crow19-Jan-05 4:23
David Crow19-Jan-05 4:23 
GeneralGrafMenu from Programming Windows Pin
LiYS18-Jan-05 17:16
LiYS18-Jan-05 17:16 
GeneralCDialog Derived run-time error Pin
LighthouseJ18-Jan-05 17:09
LighthouseJ18-Jan-05 17:09 
GeneralRe: CDialog Derived run-time error Pin
Serge Krynine18-Jan-05 18:27
Serge Krynine18-Jan-05 18:27 
GeneralRe: CDialog Derived run-time error Pin
LighthouseJ19-Jan-05 3:12
LighthouseJ19-Jan-05 3:12 
ah-ha, I must have missed that little detail, good call. I get the dialog fine but the data in the static text isn't being set properly. Here's my constructor code:
CResultsDlg::CResultsDlg(int offsetWidth, int uncompressedSize, int compressedSize, float compressionRatio) : CDialog(CResultsDlg::IDD, NULL)<br />
						, offsetWidthInt(0), uncompressedSizeInt(0), compressedSizeInt(0), compressionRatioFloat(0) {<br />
	offsetWidthInt = offsetWidth;<br />
    uncompressedSizeInt = uncompressedSize;<br />
	compressedSizeInt = compressedSize;<br />
	compressionRatioFloat = compressionRatio;<br />
	UpdateData(FALSE);<br />
}

offsetWidthInt, uncompressedSizeInt and compressedSizeInt are all integer variables that I made to change the appropriate static text, same with the compressionRatioFloat but it's a floating point number of course. I put the UpdateData(FALSE); because I used it when I (tried to) learn(ed) how to do data exchanges between dialogs and thought it might be what I'm missing but that's not it. Anyone know what I'm not doing or not doing right?
GeneralRe: CDialog Derived run-time error Pin
Blake Miller19-Jan-05 5:39
Blake Miller19-Jan-05 5:39 
GeneralMPEG decode Pin
rushing18-Jan-05 16:37
rushing18-Jan-05 16:37 
GeneralRe: MPEG decode Pin
vaibhavbvp3-Feb-13 18:15
vaibhavbvp3-Feb-13 18:15 

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.