|
abiemann wrote: so that the picturebox is listed after the buttons
Didn't you want it before ("under") the buttons?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
indeed, I got it mixed up. This is what it looks like in the .rc:
BEGIN
CONTROL 130,IDC_STATIC,"Static",SS_BITMAP,1,1,446,345
DEFPUSHBUTTON "PASS",IDOK,2,332,50,14
PUSHBUTTON "FAIL",IDCANCEL,397,332,50,14,BS_TOP
END
now I just wish that the Dialog Editor would select one of the buttons when I left/right-click them (instead of the picture). To select either button I need to Tab through.
|
|
|
|
|
abiemann wrote: now I just wish that the Dialog Editor would select one of the buttons when I left/right-click them (instead of the picture). To select either button I need to Tab through.
I see what you mean That's pretty annoying!
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
abiemann wrote: now I just wish that the Dialog Editor would select one of the buttons when I left/right-click them (instead of the picture). To select either button I need to Tab through.
I'm going to submit this to MS. Should be easy enough for them to hittest from
the "top-down" (reverse tab order) instead of tab order...right?
Because that's just silly
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I'm working with VC++ MFC application ..
I want to display a message box with value of a membervariable which i'm using in mi program.To do this whether i need to include any headerfile?.ifso please help me by giving the code or format as i'm a beginner.Anyone please help mi in this regard.
Thanks in Advance,
Saravana...
|
|
|
|
|
No header file needed. Message boxes only show strings, but there are plenty of ways to turn a (eg) number into a string.
eg...
CString s;
s.Format ("%i", m_nMyMemberInteger);
AfxMessageBox (s);
Iain.
|
|
|
|
|
look at wsprintf too!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
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++
|
|
|
|
|