|
Hello,
How could I change only the menu background color?
I have subscribed the DrawItem method of CMyMenu class (derived from CMenu).
Could any show me the code to do this?
Thanks,
Cris.
|
|
|
|
|
Hello,
Anybody have an idea?
I have find in the net, but nothing found.
Please take a look in this problem
Thanks again,
Cris.
|
|
|
|
|
hi all, i am new to this code project.could you please any one help me regarding how to capute yahoo mail using vc++.
Thanks in advance.
|
|
|
|
|
karthipollachi@gmail.com wrote: i am new to this code project
Welcome. Try reading the first thread in this forum titled "How to get an answer to your question"
|
|
|
|
|
karthipollachi@gmail.com wrote: ...capute yahoo mail...
What exactly do you mean by "capture?" Are you wanting to retrieve mail from a POP3 server?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Thanks for asking here basically i need to retrieve yahoo users mail. by the time of clicking send button.
Thanks
karthik
|
|
|
|
|
karthipollachi@gmail.com wrote: ...i need to retrieve yahoo users mail.
So are you wanting to retrieve mail from a POP3 server?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
Thanks for help.i read mail monitor article i am getting some idea's.
|
|
|
|
|
You are wellcome
Russell
|
|
|
|
|
Hi everybody,
i created a CFormView-derived class which encapsulates all basic-functionalities of all my views.
If i create a new dialog-based view i add to the view a new CFormView-derived class and change
all CFormView with UniView (=my class)
Is it possible to create a template which is available on the "Create new class" menu?
Example: I create a view with the dialog designer and click on "Create new class", there i need to choose CFormView, for that the window is a FormView derived window and not a CDialog-derived.
Just at this point i like to choose my own basic class "UniView"
Is it possible? If yes, how can i find doc's about it?
Big thanks
|
|
|
|
|
Hi,
take a look in my answer to other similar question and follow the lins, I'm not sure if this is what you ask for, but it maybe gives you an idea.
Here[^]
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
|
|
|
|
|
Is there any way to draw a Region (in GDi+)without using
FillRegion(Brush*,Region*) method?
FillRegion(...) method only fill a region using brush property.
I need to draw only the border of the region not to fill the region.
Pls help............
|
|
|
|
|
This intrigued me, as I thought you could simply use a NULL brush, but no.
Can you use the Region::GetHRGN to get GDI (not +) HRGN, then use the ::FrameRgn function? (You'll need the Graphics::GetHDC method too)
Why the FrameRegion function isn't exposed, I don;t know - it's not as if its a new one...
Iain.
|
|
|
|
|
Not exposed? What do you mean?
FrameRgn() works ok.
Cheers,
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I meant the functionality wasn't exposed - or provided. As the Graphics object has a GetHDC method, and the Region object has a GetHRGN method, then I can;t see any reason why there wasn't a
Graphics::FrameRegion (Region *, Brush *, int xThickness, int yThickness);
method too.
I'm an old school Win32 fiddler (even if I can't see a SND_LOOP parameter when its kicking me in the face)
Our's is not to reason why - our's is to code and die.
Iain.
|
|
|
|
|
Well that makes sense. Apparently, without sufficient caffeine, I can't see all those little '+'s
after the "GDI"s so I misread your post, which is why I asked.
For GDI+ I believe they chose to handle this with paths (the GraphicsPath class) instead
(I know I read it somewhere, can't find it...).
This is also why the most complex Region that can be created directly is a rect.
Cheers!
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
|
Thank you very much for your reply. I have used NULL_BRUSH but it doesn't work.
I have used Region instead of CRgn because of scalling facility using Region.
According to your instruction i have used following code
CRgn* rGn;<br />
rGn = CRgn::FromHandle(m_pRegion->GetHRGN(g));<br />
CBrush brush;<br />
brush.CreateSolidBrush(RGB(255,0,0));<br />
pDC->FrameRgn(rGn,&brush,10,10);
Now it is working............
Thank you so much...
|
|
|
|
|
hi
one of my security related project is having requirement to create a secure service.
that means users should not be able to stop the service.
i have done it using CreateProcess API.
But what more is required is to totally disable the Recovery Actions for the service same as the system critical services like "Event Log" (That enables event log messages issued by Windows-based programs and components) .
i want to make my service same as provided by windows that is "Event Log" or that of WebSence software.
So please make some suggestions for this.
Currently i am looking in the direction of DACL.
if there is any other way then please let me know.
Thanks a lot!
|
|
|
|
|
Hi All,
With MSMQ using VC++ what kind of messages we can transfer , i mean can we send and recieve binary data, SQL statements,STructures etc
Thanks
abhi
|
|
|
|
|
Well, since any message can be reduced to binary data - and IS behind the scenes anyway, you can send any kind of message you want. The processing of said messages is up to you.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
The problem is as follows:
in a chat system.A and B are client ,C is server. There is only one tcp line between client and server.Client A send data to server C ,then server C transmit data to client B, but can B send data to client A throuth server C at the same time?I think there will be a problem,because B and C are sending Data to each other at the same time.There must be a conflict.My friends think there are no problem ,tcp can deal with it.
so can are a client and a server sending data on the same connection at the same time? or create establish two socket,one for receiving,the other for sending?
Thank you for helping me.
study
|
|
|
|
|
There should be no problem with this at the TCP/IP socket level. The application(s) involved being able to handle sending and receiving at the same time, well that is another issue.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Thank you for helping me
study
|
|
|
|