i will explain my problem clearly.
iam using two staic control one for icon and another for text.
i keep the static control color to white,and dialog to blue,after that i change the static caption to Ram.after that if i compile we are getting ram instatic the background of ram is changed to original Dialog box colour that means not blue.
when you run onctlcolor the background is blue and when you use pDC->settextcolor() you can change color from static
but i think you need to WM_CTLCOLORSTATIC for static i think if you use this event
your problem is solve
I have an MFC activeX control where I want to send an array of UDT (structure). My problem is that I have to use VARIANT compatible data types. As far as I know this means that I should wrap a SafeArray into a Variant and send a pointer to this variant to the client.
My problem is how can I add elements of a UDT to this array in such a way that when the client recieves the array he can easily extract the elements of the UDT one by one.
hi all plz tell me ..........
i want to know that i hve open certain windows and now i want to make a button on which when i click all opened windos are minimized
and a made second button on which when i click all windows are maximized
plz tell me how i can do this
plz send me example for this................
sir plz tell me
sir as u try this code iwill not giving any error
but sir as i run my application and open windows and then i press the button
it will minimisze all now to maximize telme how
I am creating a messenger. By the way it is not my class assingment;P I am doing it just for fun. Ok problem is that i could not think of the best way to do it. In fact i want to ask how i can manage different chat sessions.
Let me give you an overview.
Should i create a saparate thread when a user double clicks on a online contact to chat with him?
Can someone provide me help or any resourse regarding this project? I have done work in socket programming. So i have no problem in that part. I just want high level logic for implementing messenger.
Please help me
We Believe in Excellence
Last Visit: 31-Dec-99 19:00 Last Update: 28-Feb-24 22:30