Click here to Skip to main content
15,923,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to create global variable? Pin
Christian Graus19-Mar-02 10:24
protectorChristian Graus19-Mar-02 10:24 
GeneralRe: How to create global variable? Pin
Paul M Watt19-Mar-02 10:34
mentorPaul M Watt19-Mar-02 10:34 
GeneralRe: How to create global variable? Pin
Tomasz Sowinski19-Mar-02 10:43
Tomasz Sowinski19-Mar-02 10:43 
GeneralRe: How to create global variable? Pin
Christian Graus20-Mar-02 0:31
protectorChristian Graus20-Mar-02 0:31 
GeneralRe: How to create global variable? Pin
Bill Wilson19-Mar-02 14:03
Bill Wilson19-Mar-02 14:03 
GeneralRe: How to create global variable? Pin
Bill Wilson19-Mar-02 14:03
Bill Wilson19-Mar-02 14:03 
AnswerRe: How to create global variable? Pin
Tomasz Sowinski19-Mar-02 8:10
Tomasz Sowinski19-Mar-02 8:10 
GeneralSame caption problem as before, what am I doing wrong? (half reposted) Pin
generic_user_id19-Mar-02 7:48
generic_user_id19-Mar-02 7:48 
For some time I'm trying to draw the caption of a dialog myself, including the buttons and the line that seperates the NC area and the Client area.

Kilowatt adviced me to add SetWindowLong to the WM_NCACTIVATE handler, but that doesn't make a visual difference. Without the SetWindowLong call the borders of the NC area aren't painted at all.

The border doesn't get painted, but that didn't happen in the first place, my problem was that not only the buttons were painted, but a small area around the buttons too, and there is a line drawn that seperates the client and the non-client area.

If I don't make a handler to NCACTIVATE at all windows paints the NC area as soon as it looses focus, otherwise not.

Maybe I didn't make myself entirely clear, but I would like windows to paint nothing at all outside of the client area, as windows refuses to draw the button without background.

Thanks in advance
General_beginthreadex questions Pin
Le centriste19-Mar-02 7:39
Le centriste19-Mar-02 7:39 
GeneralRe: _beginthreadex questions Pin
Nemanja Trifunovic19-Mar-02 7:39
Nemanja Trifunovic19-Mar-02 7:39 
GeneralMore FlexGrid issues with .NET Pin
dazinith19-Mar-02 7:33
dazinith19-Mar-02 7:33 
GeneralCreating GDI Controls From Scratch Pin
alpha+19-Mar-02 6:51
alpha+19-Mar-02 6:51 
GeneralRe: Creating GDI Controls From Scratch Pin
Tomasz Sowinski19-Mar-02 6:56
Tomasz Sowinski19-Mar-02 6:56 
GeneralRe: Creating GDI Controls From Scratch Pin
Paul M Watt19-Mar-02 7:09
mentorPaul M Watt19-Mar-02 7:09 
GeneralNew and improved solution Pin
Paul M Watt19-Mar-02 9:06
mentorPaul M Watt19-Mar-02 9:06 
GeneralRe: Creating GDI Controls From Scratch Pin
Ravi Bhavnani19-Mar-02 9:28
professionalRavi Bhavnani19-Mar-02 9:28 
GeneralRe: Creating GDI Controls From Scratch Pin
Paul M Watt19-Mar-02 10:30
mentorPaul M Watt19-Mar-02 10:30 
GeneralFolder shortcuts. Pin
19-Mar-02 6:05
suss19-Mar-02 6:05 
GeneralRe: Folder shortcuts. Pin
Todd Smith19-Mar-02 6:58
Todd Smith19-Mar-02 6:58 
QuestionCustom thumbnails? Pin
Romeozulu19-Mar-02 5:57
Romeozulu19-Mar-02 5:57 
AnswerRe: Custom thumbnails? Pin
Christian Graus19-Mar-02 10:26
protectorChristian Graus19-Mar-02 10:26 
GeneralRe: Custom thumbnails? Pin
Romeozulu19-Mar-02 11:07
Romeozulu19-Mar-02 11:07 
GeneralLoad & Display Image file types Using DirectDraw Pin
Dang Xuan Ky19-Mar-02 5:35
Dang Xuan Ky19-Mar-02 5:35 
GeneralRe: Load & Display Image file types Using DirectDraw Pin
Christian Graus19-Mar-02 10:26
protectorChristian Graus19-Mar-02 10:26 
GeneralNew Year in Iran ! Pin
Hadi Rezaee19-Mar-02 5:35
Hadi Rezaee19-Mar-02 5:35 

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.