Click here to Skip to main content
15,895,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Send mouse message Pin
leenmie16-Jan-06 23:23
leenmie16-Jan-06 23:23 
GeneralRe: Send mouse message Pin
Owner drawn16-Jan-06 23:36
Owner drawn16-Jan-06 23:36 
AnswerRe: Send mouse message Pin
Stephen Hewitt17-Jan-06 12:11
Stephen Hewitt17-Jan-06 12:11 
QuestionSending messages between applications Pin
rider cool16-Jan-06 19:26
rider cool16-Jan-06 19:26 
AnswerRe: Sending messages between applications Pin
Owner drawn16-Jan-06 19:29
Owner drawn16-Jan-06 19:29 
QuestionBackground color chaning issue... Pin
Axonn Echysttas16-Jan-06 19:01
Axonn Echysttas16-Jan-06 19:01 
AnswerRe: Background color changing issue... Pin
Owner drawn16-Jan-06 19:16
Owner drawn16-Jan-06 19:16 
GeneralRe: Background color changing issue... Pin
Axonn Echysttas16-Jan-06 19:58
Axonn Echysttas16-Jan-06 19:58 
Hello Owner drawn. As I said in my original message (the link), I don't receive such message! I don't know why :- ). I think I should, but I don't. As I said, it's a window created like this:

hwndControl = CreateWindowEx //Creating the window.
(
NULL, //ExStyles.
"Static", //Class name.
Text, //Text of the label.
WS_CHILD | SS_CENTER, //Styles.
0, //X.
0, //Y.
100, //Width.
30, //Height.
hwndThis, //Parent, a WS_POPUP window.
NULL, //Menu.
(HINSTANCE)hwndThis, //The handle of that WS_POPUP window which contains this one.
NULL //CreateStruct.
);

So it's a static label control... and it centers the text... but I can't change the background. So then I guess my question becomes, WHY DOESN'T IT RECEIVE WM_CTLCOLORSTATIC...

Weird!

-= E C H Y S T T A S =-
The Greater Mind Balance
GeneralRe: Background color changing issue... Pin
Stephen Hewitt16-Jan-06 20:06
Stephen Hewitt16-Jan-06 20:06 
GeneralRe: Background color changing issue... Pin
Axonn Echysttas16-Jan-06 20:35
Axonn Echysttas16-Jan-06 20:35 
GeneralRe: Background color changing issue... Pin
Owner drawn16-Jan-06 20:19
Owner drawn16-Jan-06 20:19 
GeneralRe: Background color changing issue... Pin
Axonn Echysttas16-Jan-06 20:36
Axonn Echysttas16-Jan-06 20:36 
QuestionSysFreeString misbehaving :( ??? Pin
nutkase16-Jan-06 18:34
nutkase16-Jan-06 18:34 
AnswerRe: SysFreeString misbehaving :( ??? Pin
Stephen Hewitt17-Jan-06 13:26
Stephen Hewitt17-Jan-06 13:26 
GeneralRe: SysFreeString misbehaving :( ??? Pin
nutkase17-Jan-06 18:08
nutkase17-Jan-06 18:08 
GeneralRe: SysFreeString misbehaving :( ??? Pin
Stephen Hewitt17-Jan-06 18:17
Stephen Hewitt17-Jan-06 18:17 
QuestionHow to read the data from PDF file Pin
S_a_n16-Jan-06 16:42
S_a_n16-Jan-06 16:42 
AnswerRe: How to read the data from PDF file Pin
Christian Graus16-Jan-06 16:45
protectorChristian Graus16-Jan-06 16:45 
GeneralRe: How to read the data from PDF file Pin
S_a_n16-Jan-06 16:54
S_a_n16-Jan-06 16:54 
GeneralRe: How to read the data from PDF file Pin
Christian Graus16-Jan-06 16:56
protectorChristian Graus16-Jan-06 16:56 
GeneralRe: How to read the data from PDF file Pin
Anders Gustafsson16-Jan-06 20:32
Anders Gustafsson16-Jan-06 20:32 
GeneralRe: How to read the data from PDF file Pin
basementman17-Jan-06 3:56
basementman17-Jan-06 3:56 
QuestionHow to inerface with COM Objects? Pin
Divyang Mithaiwala16-Jan-06 16:33
Divyang Mithaiwala16-Jan-06 16:33 
AnswerRe: How to inerface with COM Objects? Pin
Christian Graus16-Jan-06 16:45
protectorChristian Graus16-Jan-06 16:45 
GeneralRe: How to inerface with COM Objects? Pin
Divyang Mithaiwala16-Jan-06 16:52
Divyang Mithaiwala16-Jan-06 16:52 

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.