Click here to Skip to main content
15,896,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Windows message vs connection points Pin
led mike26-Jun-07 12:20
led mike26-Jun-07 12:20 
AnswerRe: Windows message vs connection points Pin
Roger Stoltz26-Jun-07 21:56
Roger Stoltz26-Jun-07 21:56 
QuestionCommon Controls Problem in XP but not in 2003 [modified] Pin
anselmo26-Jun-07 8:39
anselmo26-Jun-07 8:39 
AnswerRe: Common Controls Problem in XP but not in 2003 Pin
Mark Salsbery26-Jun-07 9:16
Mark Salsbery26-Jun-07 9:16 
GeneralRe: Common Controls Problem in XP but not in 2003 Pin
anselmo26-Jun-07 9:38
anselmo26-Jun-07 9:38 
GeneralRe: Common Controls Problem in XP but not in 2003 Pin
Mark Salsbery26-Jun-07 9:42
Mark Salsbery26-Jun-07 9:42 
GeneralRe: Common Controls Problem in XP but not in 2003 Pin
anselmo26-Jun-07 10:03
anselmo26-Jun-07 10:03 
GeneralRe: Common Controls Problem in XP but not in 2003 Pin
Mark Salsbery26-Jun-07 11:26
Mark Salsbery26-Jun-07 11:26 
anselmo wrote:
Another thing that makes me think is why in w2003 works, if the
#include "commctrl.h" nor the link to comctl32.lib where added previously.


Those need to be there for your project to compile and link.

At runtime, however, ComCtl32.dll needs to be loaded. That's all InitCommonControls does - makes
a call into the DLL which forces it to be loaded if it isn't already. That's why I think if
it worked on 2003, that a system DLL causes the ComCtl32.dll to be loaded so it's already there
when you create your controls.

Glad it worked!
Mark




"Go that way, really fast. If something gets in your way, turn."

QuestionTo set alignment of Text in static control Pin
Mushtaque Nizamani26-Jun-07 5:56
Mushtaque Nizamani26-Jun-07 5:56 
AnswerRe: To set alignment of Text in static control Pin
Mark Salsbery26-Jun-07 6:05
Mark Salsbery26-Jun-07 6:05 
GeneralRe: To set alignment of Text in static control Pin
Mushtaque Nizamani26-Jun-07 6:27
Mushtaque Nizamani26-Jun-07 6:27 
GeneralRe: To set alignment of Text in static control Pin
led mike26-Jun-07 7:00
led mike26-Jun-07 7:00 
GeneralRe: To set alignment of Text in static control Pin
Mark Salsbery26-Jun-07 7:03
Mark Salsbery26-Jun-07 7:03 
AnswerRe: Help to solve this memory leakage problem Pin
Iain Clarke, Warrior Programmer26-Jun-07 5:51
Iain Clarke, Warrior Programmer26-Jun-07 5:51 
QuestionSTL container Pin
tom groezer26-Jun-07 3:40
tom groezer26-Jun-07 3:40 
AnswerRe: STL container Pin
CPallini26-Jun-07 3:42
mveCPallini26-Jun-07 3:42 
AnswerRe: STL container Pin
Orhun Birsoy26-Jun-07 4:51
Orhun Birsoy26-Jun-07 4:51 
QuestionDelete operator Pin
tom groezer26-Jun-07 3:37
tom groezer26-Jun-07 3:37 
AnswerYou need a Garbage Collector! Pin
CPallini26-Jun-07 3:41
mveCPallini26-Jun-07 3:41 
Answer... or smart pointers Pin
Cedric Moonen26-Jun-07 3:47
Cedric Moonen26-Jun-07 3:47 
AnswerRe: Delete operator Pin
led mike26-Jun-07 5:23
led mike26-Jun-07 5:23 
GeneralRe: Delete operator Pin
tom groezer26-Jun-07 16:52
tom groezer26-Jun-07 16:52 
GeneralRe: Delete operator Pin
led mike27-Jun-07 4:45
led mike27-Jun-07 4:45 
QuestionPrivate functions Pin
tom groezer26-Jun-07 3:30
tom groezer26-Jun-07 3:30 
AnswerRe: Private functions Pin
Cedric Moonen26-Jun-07 3:38
Cedric Moonen26-Jun-07 3:38 

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.