Click here to Skip to main content
15,886,963 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
[edit]
I've found that the underlying problem is problem is in the call to DDX_DHtml_Radio in DoDataExchange. The underlying MFC code queries IHtmlElementCollection, which consistently returns NULL. Because of this, the code assumes that the radio button is not in a group and subsequently exits without updating values.

I've seen one comment on the net compaining that IHtmlElementCollection stopped working on XP SP2 (my environment), but I can't find any confirmation that it's a known issue. In any event, the failure to obtain this interface pretty much takes the wheels off the wagon. Any ideas, anyone?
[/edit]

With CDhtmlDialog in VS2003, Class Wizard doesn't appear to support adding member variables wired up to the dialog controls like the CDialog stuff I'm used to. Trying to find sufficient documentation to do it manually has been an all day and fruitless search. The online documentation appears to stop at "here's the class members." No overview on how to stitch it all together.

I naturally searched the CP articles first, but they're all doing various kinds of rocket science and none of the simple stuff. All I need to do is the basic old fashioned dialog stuff, but with an html layout. Add some edit controls & radio buttons, initialize their values in OnInitDialog() and grab their values after DoModal() completes. I mean, how hard could this be?

Does anyone know of any documentation / tutorials anywhere that describes how to do the basic stuff with the html dialog class? I've hit everything from Google to MSDN to CP to VS online help and can't seem to find any straightforward documentation on the basics. I'd be most grateful for any educational resources you might point me to.

The hard stuff is easy, and the easy stuff chews up an entire day... D'Oh! | :doh:


-- modified at 11:30 Wednesday 30th August, 2006


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 
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 
GeneralRe: CDhtmlDialog Pin
Mircea Puiu30-Aug-06 7:09
Mircea Puiu30-Aug-06 7:09 
GeneralRe: CDhtmlDialog Pin
Christopher Duncan30-Aug-06 7:15
Christopher Duncan30-Aug-06 7:15 
GeneralRe: CDhtmlDialog Pin
Mircea Puiu30-Aug-06 7:27
Mircea Puiu30-Aug-06 7:27 
AnswerRe: CDhtmlDialog - IHtmlElementCollection Pin
Hamid_RT31-Aug-06 6:02
Hamid_RT31-Aug-06 6:02 
GeneralRe: CDhtmlDialog - IHtmlElementCollection Pin
Christopher Duncan31-Aug-06 6:10
Christopher Duncan31-Aug-06 6:10 
GeneralRe: CDhtmlDialog - IHtmlElementCollection Pin
Hamid_RT31-Aug-06 9:43
Hamid_RT31-Aug-06 9:43 
QuestionButton disappears after OnPaint() Pin
mfranco_neto29-Aug-06 16:08
mfranco_neto29-Aug-06 16:08 
AnswerRe: Button disappears after OnPaint() Pin
Nishad S29-Aug-06 18:39
Nishad S29-Aug-06 18:39 
GeneralRe: Button disappears after OnPaint() Pin
mfranco_neto30-Aug-06 12:04
mfranco_neto30-Aug-06 12:04 
GeneralRe: Button disappears after OnPaint() Pin
Nishad S30-Aug-06 17:33
Nishad S30-Aug-06 17:33 
GeneralRe: Button disappears after OnPaint() Pin
mfranco_neto31-Aug-06 2:53
mfranco_neto31-Aug-06 2:53 
GeneralRe: Button disappears after OnPaint() Pin
Nishad S31-Aug-06 3:33
Nishad S31-Aug-06 3:33 
GeneralRe: Button disappears after OnPaint() Pin
mfranco_neto31-Aug-06 12:04
mfranco_neto31-Aug-06 12:04 

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.