|
|
Aniket Salunkhe wrote: 1. How to show dialog such a way that it's Bottom-Right corner will at same position of Bottom-Right corner of Screen?
Put this in the dialog's OnInitDialog() method:
RECT rc1;
SystemParametersInfo(SPI_GETWORKAREA, 0, &rc1, 0);
int nWidth = rc1.right - rc1.left;
int nHeight = rc1.bottom - rc1.top;
CRect rc2;
GetWindowRect(rc2);
MoveWindow(nWidth - rc2.Width(), nHeight - rc2.Height(), rc2.Width(), rc2.Height());
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
i got objectarray list into aobjects
how to pass it to combo box for eg: m_ANodeCombo is my combobox
modified on Tuesday, June 17, 2008 2:41 AM
|
|
|
|
|
Add each element individually to your combobox.
|
|
|
|
|
i am adding like this m_ANodeCombo.SetCurSel(0);
but not getting
|
|
|
|
|
Member 4655685 wrote: but not getting
What are you not getting? Please read the guidelines[^] before posting anything further. If your post does not conform to the norms specified in the guidelines, nobody will be able to help you.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
i choosed correct forum according to guidelines
i have written in simple english only . Not getting means i am not getting the list in combo box
|
|
|
|
|
Member 4655685 wrote: i am adding like this m_ANodeCombo.SetCurSel(0);
What ? You add items using SetCurlSel ? Did you read the documentation ?
|
|
|
|
|
If its new version of Combobox,please give us more info?
|
|
|
|
|
Any help link for new combo box is more than welcome
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
Member 4655685 wrote: i am adding like this m_ANodeCombo.SetCurSel(0);
Read the documentation. That method does not add anything to a combobox.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
sir he already mention that he is using new combo box
|
|
|
|
|
Hi friends
Recently i attend one interview they asked which situation we used SDI and MDI and Dialog ,I replayed SDI is nothing but we dont need pop windows then we go 4 SDI etc..
finally they told u r answer is wrong ,why ?
Regards
nisha.S
|
|
|
|
|
nisha00000 wrote: I replayed SDI is nothing but we dont need pop windows then we go 4 SDI etc.. finally they told u r answer is wrong ,why ?
Because it was wrong. A good idea would be to read a beginners book on MFC (any beginners book on MFC must essentially cover the DOC/View architecture).
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
But I dont undrestand what you said? it seems you answered to a question and some people told you that your answer was wrong,right?
|
|
|
|
|
She is asking why her answer was wrong.
-Saurabh
|
|
|
|
|
Saurabh.Garg wrote: She is asking why her answer was wrong.
thats the question!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
Isn't that obvious?
Seriously though I have no idea and thats what I thought was the question
-Saurabh
|
|
|
|
|
i must recommend her a good tutor
|
|
|
|
|
For what - English or programming?
-Saurabh
|
|
|
|
|
Saurabh.Garg wrote: For what - English or programming?
might english langauge , though i require it too
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
From MSDN.
"SDI applications allow only one open document frame window at a time. MDI applications allow multiple document frame windows to be open in the same instance of an application. An MDI application has a window within which multiple MDI child windows, which are frame windows themselves, can be opened, each containing a separate document. In some applications, the child windows can be of different types, such as chart windows and spreadsheet windows. In that case, the menu bar can change as MDI child windows of different types are activated."
-Saurabh
|
|
|
|
|
hi...
am using monthly calendar control.
in monthly calendar control if we click a date i have to get that date.
how can i get cliecked date?
if anyone knows help me.
thanks...
paulraj
|
|
|
|
|