Click here to Skip to main content
15,905,563 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to write a multithread breakpoint resume ftp programe? Pin
Prakash Nadar29-Aug-06 20:42
Prakash Nadar29-Aug-06 20:42 
GeneralRe: how to write a multithread breakpoint resume ftp programe? Pin
Steve S29-Aug-06 21:47
Steve S29-Aug-06 21:47 
AnswerRe: how to write a multithread breakpoint resume ftp programe? Pin
ThatsAlok29-Aug-06 23:35
ThatsAlok29-Aug-06 23:35 
GeneralRe: how to write a multithread breakpoint resume ftp programe? Pin
Prakash Nadar30-Aug-06 5:19
Prakash Nadar30-Aug-06 5:19 
QuestionSearching Shared Folders Pin
Ratish Philip29-Aug-06 16:59
Ratish Philip29-Aug-06 16:59 
AnswerRe: Searching Shared Folders Pin
Nibu babu thomas29-Aug-06 19:32
Nibu babu thomas29-Aug-06 19:32 
GeneralRe: Searching Shared Folders Pin
Ratish Philip29-Aug-06 19:48
Ratish Philip29-Aug-06 19:48 
GeneralRe: Searching Shared Folders Pin
Nibu babu thomas30-Aug-06 0:27
Nibu babu thomas30-Aug-06 0:27 
GeneralRe: Searching Shared Folders Pin
David Crow30-Aug-06 3:41
David Crow30-Aug-06 3:41 
AnswerRe: Searching Shared Folders Pin
Hamid_RT31-Aug-06 6:13
Hamid_RT31-Aug-06 6:13 
QuestionReading the Edit properties from different applications Pin
Vissu8929-Aug-06 16:44
Vissu8929-Aug-06 16:44 
AnswerRe: Reading the Edit properties from different applications Pin
Naveen29-Aug-06 17:24
Naveen29-Aug-06 17:24 
GeneralRe: Reading the Edit properties from different applications Pin
Vissu8929-Aug-06 18:08
Vissu8929-Aug-06 18:08 
GeneralRe: Reading the Edit properties from different applications Pin
Naveen29-Aug-06 18:37
Naveen29-Aug-06 18:37 
GeneralRe: Reading the Edit properties from different applications Pin
Vissu8929-Aug-06 19:29
Vissu8929-Aug-06 19:29 
GeneralRe: Reading the Edit properties from different applications Pin
Naveen29-Aug-06 19:47
Naveen29-Aug-06 19:47 
GeneralRe: Reading the Edit properties from different applications Pin
David Crow30-Aug-06 3:44
David Crow30-Aug-06 3:44 
GeneralRe: Reading the Edit properties from different applications Pin
Hamid_RT31-Aug-06 6:00
Hamid_RT31-Aug-06 6:00 
Questionlarge buffers Pin
thathvamsi29-Aug-06 16:42
thathvamsi29-Aug-06 16:42 
AnswerRe: large buffers Pin
Steve S29-Aug-06 21:56
Steve S29-Aug-06 21:56 
QuestionCDhtmlDialog - IHtmlElementCollection [modified] Pin
Christopher Duncan29-Aug-06 16:20
Christopher Duncan29-Aug-06 16:20 
AnswerRe: CDhtmlDialog Pin
Mircea Puiu29-Aug-06 20:24
Mircea Puiu29-Aug-06 20:24 
GeneralRe: CDhtmlDialog Pin
Christopher Duncan30-Aug-06 1:42
Christopher Duncan30-Aug-06 1:42 
Hi, Mircea.

Thanks for taking the time to help on this. Yeah, that was one of many samples that I downloaded & reviewed to no avail. Specifically, here's the problem I'm fighting. I have an edit & two radio buttons in the htm. DoDataExchange updates the variable for the edit, but not the radio buttons. The button state is never updated based on the value of the radio variables, and the value of the variables never changes throughout the life of the dialog.

Here's the relevant snippets for the radio buttons in .htm and DoDataExchange:
<br />
<INPUT id="btnFarenheit" type="radio" name="RadioGroup"> Farenheit<br />
<br><br />
<INPUT id="btnCelcius" type="radio" name="RadioGroup"> Celcius<br />


void CDlgSelectLocation::DoDataExchange(CDataExchange* pDX)<br />
{<br />
	DDX_DHtml_ElementValue(pDX, _T("edtLocation"), m_strLocation); <br />
	DDX_DHtml_Radio(pDX, _T("btnFarenheit"), m_lFarenheit);<br />
	DDX_DHtml_Radio(pDX, _T("btnCelcius"), m_lCelcius);<br />
<br />
	CDHtmlDialog::DoDataExchange(pDX);<br />
}


m_strLocation behaves exactly as expected, but the radio buttons don't. As far as I can tell, I'm making the analgous calls for the radio buttons as the MSDN example uses for the checkboxes, but clearly I'm missing something here.

Of course, first and foremost I'd like to solve the problem at hand. However, it would also be great if I could find the FM to RT regarding the html dialog. I can't seem to find a general usage or tutorial on it anywhere.

As a secondary question, is it normal that you can't use Class Wizard to generate this code for an html dialog? In a CDialog implementation this sort of thing is trivial and quickly done via wizard (although I'd still like to understand the underlying code).

Anwyay, that's the scoop. If anyone has insights on why the radio buttons aren't behaving properly it would be most appreciated. And pointers to the FM would be great as well.

Thanks again, man.


GeneralRe: CDhtmlDialog Pin
Mircea Puiu30-Aug-06 2:57
Mircea Puiu30-Aug-06 2:57 
GeneralRe: CDhtmlDialog Pin
Christopher Duncan30-Aug-06 3:09
Christopher Duncan30-Aug-06 3:09 

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.