|
DavidCrow wrote: One of which seems to be not explaining the problem.
Strange that the other two people understood the question ....
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
I have a VC++ project (x.dsp). When I open the .dsp (x.dsp) of this project it is opening all other project as well. I don’t know how this is loading all other projects to workspace? If it is possible, can you please help me, how to implement it?.
And at the same time, when I compile this project (x.dsp – which is set as active), it is compiling all the projects in an order even though only x.dsp is set as active. Can you please help me how to do this??
Anand
|
|
|
|
|
See Here[^] [Visual Studio IDE]
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
I cant get what you are telling. Can any one help me??
|
|
|
|
|
Hi,
"Programm3r" said that you better post on Visual Studio IDE forum.
Anyway, When you open the *prj, does it prompts for using *dsw?
|
|
|
|
|
Post your question on the Visual Studio IDE Forum, with the link I provided. This is a Visual C++ / MFC discussion board.
Sorry ...
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
Vs will complie any dependancies of the the active project by defalut.
a programmer traped in a thugs body
|
|
|
|
|
How can i do print preview for this :
((i have a CButton OnPrint(IDC_PRINT))CDialog Base aplication)
void CMyPrintDlg::OnPrint(CDC* pDC, CPrintInfo* pInfo)
{
CPrintDialog dlgPrint(FALSE,PD_ALLPAGES,this);
if (dlgPrint.DoModal()==IDOK)
{
// ** Attach the printer DC from the dialog
// ** to a CDC object
CDC dcPrint;
dcPrint.Attach(dlgPrint.GetPrinterDC());
// ** Create and fill a DOCINFO structure
DOCINFO myPrintJob;
myPrintJob.cbSize = sizeof(myPrintJob);
myPrintJob.lpszDocName = "printing...";
myPrintJob.lpszOutput = NULL;
myPrintJob.lpszDatatype = NULL;
myPrintJob.fwType = NULL;
// ** Start the printing document
if (dcPrint.StartDoc(&myPrintJob)>=0)
{
// ** Start a page
dcPrint.StartPage();
CString sText;
sText = "this :";
CString sText1;
sText1 = "How ?";
////////////////////////////////////////////////////////////////////////////////////////
dcPrint.TextOut(2000,350,sText);
dcPrint.TextOut(300,500,sText1)
// ** Throw the page
dcPrint.EndPage();
// ** Close the document
dcPrint.EndDoc();
}
dcPrint.DeleteDC();
}
}
Please help me !
Bravoone
|
|
|
|
|
|
I'm trying to get hold of ESENT.H (and optionally ESENT.LIB). Does anyone know which version (if any) of the platform SDK includes these?
I know that the XPSP2 version doesn't, and annoyingly, nor does the one that ships with VS2005 (nor is it in SP1 for same).
I really don't want to have to download a 400MB+ image just for two files, particularly if I don't know that they're actually in there...
Steve S
Developer for hire
|
|
|
|
|
Both are in Windows Server 2003 R2 Platform SDK. There's even different 32 and 64 bit flavours. Sorry about the 400MB+
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Steve S wrote: Does anyone know which version (if any) of the platform SDK includes these?
They are not with the February 2003 version.
"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
|
|
|
|
|
I knew you were going to say that. I have Feb03 installed, and the XPSP2 one, so I knew they weren't in there
However, I now have an answer to my question, so I'll dig out the right DVD and install it.
Thanks
Steve S
Developer for hire
|
|
|
|
|
Hi there all,
Ik create a child dialog using CDialog->Create, followed by ShowWindow. Works just fine. I can now again activate the parent window, while the child is still alive. However: The child still covers the parent even if the parent is active and the child is not. There is no way that I get the parent to overlap the child when it is activated (I know that this can be the hard truth in real life, but I would like my computer to do what I want)! How do I do such a thing?
Thanks in advance,
William
|
|
|
|
|
Wim Engberts wrote: The child still covers the parent even if the parent is active and the child is not. There is no way that I get the parent to overlap the child when it is activated
While creating child dialog specify desktop window( Use GetDesktopWindow ) as the parent instead of the "parent dialog".
As you said this is the expected behavior.
|
|
|
|
|
Thanks a lot; this solved the problem.
William
|
|
|
|
|
Thanks a lot. This does indeed solve the problem.
William
|
|
|
|
|
FYI - you may want to note the following: http://blogs.msdn.com/oldnewthing/archive/2004/02/24/79212.aspx[^].
-=- 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
|
|
|
|
|
When advising people to use the desktop as a parent, it might be prudent to mention the dangers of doing so[^].
In general, you should not associate your child window with one that you do not own/control.
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
|
|
|
|
|
Thanks for this info james.
|
|
|
|
|
Hello,
If I have a menu with 4 menu options and I want to attach a popup menu to one of the menu options then is it possible ?
I have tried ModifyMenu() function with MF_POPUP parameter but it did not work.When I want to change the string with MF_STRING parameter for ModifyMenu() I am able to do it.
Thanks
Pritha
|
|
|
|
|
Hello,
Thanks
Please don't answer.
I used the ModifyMenu() option properly
Prithaa
|
|
|
|
|
Hello all,
I want the source code of a webpage through coding, and i don't know where to start from.Can anybody give me some idea or a piece of code to do it.
Thanks in advance
|
|
|
|
|
Hi,
Where does the webpage resides,
1) file : webpages are ascii files you can simply read it.
2) displayed: web page is displayed by your application use MSHTML API to retrieve the source.
please explain the scenario
|
|
|
|
|