Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to CREATE file with CFile? Pin
jmkhael17-Jul-02 10:39
jmkhael17-Jul-02 10:39 
AnswerRe: How to CREATE file with CFile? Pin
User 842017-Jul-02 10:38
User 842017-Jul-02 10:38 
GeneralRe: How to CREATE file with CFile? Pin
Raphael Kindt17-Jul-02 10:47
Raphael Kindt17-Jul-02 10:47 
Generalusing inherited MFC dialog classes Pin
moredip17-Jul-02 10:23
moredip17-Jul-02 10:23 
GeneralRe: using inherited MFC dialog classes Pin
Joaquín M López Muñoz17-Jul-02 11:11
Joaquín M López Muñoz17-Jul-02 11:11 
GeneralRe: using inherited MFC dialog classes Pin
moredip17-Jul-02 11:39
moredip17-Jul-02 11:39 
GeneralRe: using inherited MFC dialog classes Pin
Joaquín M López Muñoz17-Jul-02 11:44
Joaquín M López Muñoz17-Jul-02 11:44 
GeneralOwnerDraw stuff working differently in Win2K. Pin
Chris Meech17-Jul-02 9:26
Chris Meech17-Jul-02 9:26 
I have stumbled up against a wall with this one and am hoping that someone else has already handled this. I am qualifying code that presently works on WinNT to ensure that it works the same on Win2K. For an owner draw combo box, the following code in the DrawItem method fails on Win2K, but only when the display option for 'transition effects in menus and tooltips' is turned on.
CDC*    DeviceContextPointer = CDC::FromHandle(lpDrawItemStruct->hDC);
CWnd*   DropDownWindowPointer = DeviceContextPointer->GetWindow();


When the option is turned off, the CWnd pointer has a non null value and points to a real honest to goodness window. When the option is turned on however, the CWnd pointer is NULL and rightly so because with the option turned on, the DrawItem method is invoked without a real honest to goodness window available to draw in. I think that part of the trouble is that the 'architecture' for owner draw stuff has changed and I need to jack around the code to reflect that. Any ideas or comments are appreciated. Thanks.

Chris Meech
Generalsludgy character array problem Pin
John Aldrich17-Jul-02 8:39
John Aldrich17-Jul-02 8:39 
GeneralRe: sludgy character array problem Pin
Ranjan Banerji17-Jul-02 9:15
Ranjan Banerji17-Jul-02 9:15 
GeneralRe: sludgy character array problem Pin
jmkhael17-Jul-02 10:14
jmkhael17-Jul-02 10:14 
GeneralUnicode + console app + cout Pin
Chris Losinger17-Jul-02 8:25
professionalChris Losinger17-Jul-02 8:25 
GeneralRe: Unicode + console app + cout Pin
Navin17-Jul-02 10:33
Navin17-Jul-02 10:33 
GeneralRe: Unicode + console app + cout Pin
Chris Losinger17-Jul-02 10:49
professionalChris Losinger17-Jul-02 10:49 
GeneralRe: Unicode + console app + cout Pin
Daniel Lohmann17-Jul-02 13:58
Daniel Lohmann17-Jul-02 13:58 
QuestionTitle Bar Font? Pin
Dave_17-Jul-02 8:14
Dave_17-Jul-02 8:14 
AnswerRe: Title Bar Font? Pin
Anonymous17-Jul-02 8:27
Anonymous17-Jul-02 8:27 
GeneralRe: Title Bar Font? Pin
Dave_17-Jul-02 8:28
Dave_17-Jul-02 8:28 
AnswerRe: Title Bar Font? Pin
Jeremy Falcon17-Jul-02 11:29
professionalJeremy Falcon17-Jul-02 11:29 
QuestionTrayClock??? Pin
kekeguo17-Jul-02 8:12
kekeguo17-Jul-02 8:12 
GeneralQuestion about sequence of events Pin
ns17-Jul-02 8:12
ns17-Jul-02 8:12 
GeneralRe: Question about sequence of events Pin
Ravi Bhavnani17-Jul-02 9:07
professionalRavi Bhavnani17-Jul-02 9:07 
GeneralWoW! Most excellent! Pin
ns17-Jul-02 9:10
ns17-Jul-02 9:10 
GeneralRe: WoW! Most excellent! Pin
Ravi Bhavnani17-Jul-02 9:31
professionalRavi Bhavnani17-Jul-02 9:31 
Generalstring initialization problem Pin
ChiYung17-Jul-02 8:07
ChiYung17-Jul-02 8:07 

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.