Click here to Skip to main content
16,008,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Calendar Control Doesn't Redraw Self Pin
perlmunger27-Jul-02 19:46
perlmunger27-Jul-02 19:46 
>> 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?

This sounds like an anomaly to me. I've never had this problem before, but then again, I've never had two DialogBars in an app. I guess the best advice is to learn from the symptom so that you can quickly diagnose the problem next time.

Also, I've edited both resource.h and the .rc file manually before and found that, if you're careful, you can do this without causing any problems. I am almost completely certain that as long as you don't introduce duplicate items to resource.h yourself, whether by ID or name (which should be caught by the compiler), you should be fine. I believe VC++ re-parses the file to determine the next ID every time a new resource is added.

I'm glad you've solved your immediate problem, though. Best of luck to you and best regards. If you have any other questions, let me know.

-Matt

------------------------------------------

The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
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 
GeneralRe: Current Process Path - Not Name Pin
Tomasz Sowinski26-Jul-02 1:46
Tomasz Sowinski26-Jul-02 1:46 

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.