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

C / C++ / MFC

 
GeneralRe: gethostbyname Pin
Konst26-Jul-02 4:04
Konst26-Jul-02 4:04 
GeneralCalendar Control Doesn't Redraw Self Pin
JennyP26-Jul-02 3:27
JennyP26-Jul-02 3:27 
GeneralRe: Calendar Control Doesn't Redraw Self Pin
perlmunger26-Jul-02 19:25
perlmunger26-Jul-02 19:25 
GeneralRe: Calendar Control Doesn't Redraw Self Pin
JennyP27-Jul-02 5:10
JennyP27-Jul-02 5:10 
GeneralRe: Calendar Control Doesn't Redraw Self Pin
perlmunger27-Jul-02 7:06
perlmunger27-Jul-02 7:06 
GeneralRe: Calendar Control Doesn't Redraw Self Pin
JennyP27-Jul-02 15:25
JennyP27-Jul-02 15:25 
GeneralRe: Calendar Control Doesn't Redraw Self Pin
perlmunger27-Jul-02 16:05
perlmunger27-Jul-02 16:05 
GeneralRe: Calendar Control Doesn't Redraw Self Pin
JennyP27-Jul-02 18:51
JennyP27-Jul-02 18:51 
Hi Matt,

With your help, I was able to solve the issue. It turns out that my VC++ wizard put in "AFX_IDW_DIALOGBAR" to both of my dialog bars' nID fields (in the Create() method). I used your suggestion to roll my own nID's (in resource.h) and it worked.

In addition, I was able to remove UpdateData() from MainFrm.cpp which was really a cludge because my first dialog bar kept crashing the program if I didn't click on the document before the dialog bar. This was probably because the dialog bar wasn't properly initialized as in the first paragraph.

If you could offer some ideas of why VC++ put in AFX_IDW_DIALOGBAR instead of a new one, I'd appreciate it... Is this something I should do for all such items? Also, if I update resource.h manually, will the VC++ wizard try to use the same integer if I create a new resource later?


Finally, I'm manually creating (with no help from the dialog wizard) some edit controls because I'm wanting to draw them in a grid pattern on the dialog bar, and the dialog wizard just doesn't seem to get them exactly spaced equally (even using its space-even command).

Thanks for your help!

JennyP
GeneralRe: Calendar Control Doesn't Redraw Self Pin
perlmunger27-Jul-02 19:46
perlmunger27-Jul-02 19:46 
GeneralIHTMLDOMNode::put_nodeValue problem Pin
pépé26-Jul-02 3:15
pépé26-Jul-02 3:15 
Generalhelp me Pin
Anonymous26-Jul-02 3:13
Anonymous26-Jul-02 3:13 
GeneralRe: help me Pin
Tomasz Sowinski26-Jul-02 3:17
Tomasz Sowinski26-Jul-02 3:17 
GeneralRe: help me Pin
lucy26-Jul-02 3:50
lucy26-Jul-02 3:50 
GeneralRe: help me Pin
Alexandru Savescu26-Jul-02 3:58
Alexandru Savescu26-Jul-02 3:58 
GeneralXMLTextWriter, Files and a Class Library Pin
Paul Watson26-Jul-02 3:06
sitebuilderPaul Watson26-Jul-02 3:06 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Rama Krishna Vavilala26-Jul-02 3:33
Rama Krishna Vavilala26-Jul-02 3:33 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Paul Watson26-Jul-02 3:44
sitebuilderPaul Watson26-Jul-02 3:44 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Alexandru Savescu26-Jul-02 3:55
Alexandru Savescu26-Jul-02 3:55 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Paul Watson26-Jul-02 4:44
sitebuilderPaul Watson26-Jul-02 4:44 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Rama Krishna Vavilala26-Jul-02 5:12
Rama Krishna Vavilala26-Jul-02 5:12 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Paul Watson26-Jul-02 5:34
sitebuilderPaul Watson26-Jul-02 5:34 
Generaldual processor - multiple threads. Pin
Niko Tanghe26-Jul-02 1:54
Niko Tanghe26-Jul-02 1:54 
GeneralRe: dual processor - multiple threads. Pin
Tomasz Sowinski26-Jul-02 2:14
Tomasz Sowinski26-Jul-02 2:14 
GeneralRe: dual processor - multiple threads. Pin
Paul M Watt26-Jul-02 5:40
mentorPaul M Watt26-Jul-02 5:40 
GeneralCurrent Process Path - Not Name Pin
Giles26-Jul-02 1:32
Giles26-Jul-02 1:32 

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.