Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SDI and variables - where should I place them? Pin
14-Sep-01 10:12
suss14-Sep-01 10:12 
AnswerRe: Use your class derived from CObject! Pin
Masaaki Onishi14-Sep-01 7:34
Masaaki Onishi14-Sep-01 7:34 
AnswerYep - got it to work! Thanks guys! Pin
18-Sep-01 8:56
suss18-Sep-01 8:56 
QuestionHow to get the text of edit ctrl from first dialog box in second dialog box? Pin
my match14-Sep-01 1:51
my match14-Sep-01 1:51 
AnswerRe: How to get the text of edit ctrl from first dialog box in second dialog box? Pin
Steen Krogsgaard14-Sep-01 2:10
Steen Krogsgaard14-Sep-01 2:10 
QuestionSQL Server Experts - Could you provide some insight ? Pin
ManaInfy14-Sep-01 1:17
ManaInfy14-Sep-01 1:17 
QuestionChange text and/or button colour ??? Pin
mattiase14-Sep-01 1:03
mattiase14-Sep-01 1:03 
AnswerRe: Change text and/or button colour ??? Pin
Tomasz Sowinski14-Sep-01 1:59
Tomasz Sowinski14-Sep-01 1:59 
WM_CTLCOLORxxx messages are used to change text/background colors of controls. However, there's a problem with buttons, here's what MSDN says:

The system sends a WM_CTLCOLORBTN message to a button's parent window before drawing a button. This message contains a handle to the button's device context and a handle to the child window. The parent window can use these handles to change the button's text and background colors. However, only owner-drawn buttons respond to the parent window processing the message.

So you'll have to use owner-draw, in this case you have complete control over button appearance - you draw every pixel yourself.



Tomasz Sowinski -- http://www.shooltz.com
GeneralI really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 0:49
Tommy H D Svensson14-Sep-01 0:49 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tomasz Sowinski14-Sep-01 1:35
Tomasz Sowinski14-Sep-01 1:35 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 2:01
Tommy H D Svensson14-Sep-01 2:01 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tomasz Sowinski14-Sep-01 2:10
Tomasz Sowinski14-Sep-01 2:10 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 2:15
Tommy H D Svensson14-Sep-01 2:15 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 2:23
Tommy H D Svensson14-Sep-01 2:23 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tomasz Sowinski14-Sep-01 2:43
Tomasz Sowinski14-Sep-01 2:43 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tommy H D Svensson14-Sep-01 2:51
Tommy H D Svensson14-Sep-01 2:51 
GeneralRe: I really need a CSplitterWnd expert!!! Pin
Tomasz Sowinski14-Sep-01 3:06
Tomasz Sowinski14-Sep-01 3:06 
GeneralCTreeCtrl: HEEEEEELP Pin
14-Sep-01 0:11
suss14-Sep-01 0:11 
GeneralRe: CTreeCtrl: HEEEEEELP Pin
Tomasz Sowinski14-Sep-01 0:32
Tomasz Sowinski14-Sep-01 0:32 
GeneralRe: CTreeCtrl: HEEEEEELP Pin
14-Sep-01 0:46
suss14-Sep-01 0:46 
GeneralRe: CTreeCtrl: HEEEEEELP Pin
Tomasz Sowinski14-Sep-01 0:57
Tomasz Sowinski14-Sep-01 0:57 
GeneralRe: CTreeCtrl: HEEEEEELP Pin
14-Sep-01 1:07
suss14-Sep-01 1:07 
GeneralRe: CTreeCtrl: HEEEEEELP Pin
Tomasz Sowinski14-Sep-01 1:47
Tomasz Sowinski14-Sep-01 1:47 
GeneralRe: CTreeCtrl: HEEEEEELP Pin
14-Sep-01 2:00
suss14-Sep-01 2:00 
GeneralRe: CTreeCtrl: HEEEEEELP Pin
17-Sep-01 0:18
suss17-Sep-01 0:18 

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.