|
bikram singh wrote:
I thought u did, cos i saw your reply to a post in which u were going to give code to the person via email. Mu mistake again!
Basically i am recently faced critics about my system application,so i must assure it working properly before posting on CP.
Basically many programmer on CP are Raw,so any System S/w may damage there system if not handle with care.
that why i write i will mail you my code if you want.
bikram singh wrote:
Alok the programmer wrote:
any what are doing in your life????
Im a s/w developer with emphasis on systems programming.
that great!! are you working in any S/W co
-----------------------------
"I Think It will Work"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
hi
i need to include .gif or any animated files into richedit box.
how it is possible .Any body know , plz tell me.
thank you.
This allows you to set your preferences for the discussion boards
|
|
|
|
|
I have a Volcano Webcam . I lost its Driver
i m searching but cannot find any driver for it
Plz help me out
from where ,,, i can get it to download for Windows
thanx
|
|
|
|
|
|
I just created a new project MyTestProj.
I went to Project->Properties->Configuration Properties
The Property Pages are all blanks ! - can't make any changes.
whats the go?
is there something that i forgot to install?
big bug in vcpp.net ??
cheers.
|
|
|
|
|
Anonymous wrote:
I just created a new project MyTestProj.
What kind of C++ project? Are you sure you didn't just create a blank solution rather than a project?
Michael
CP Blog [^]
|
|
|
|
|
The steps were:
File->New->Project->Visual C++ Projects->MFC->MFC Application
(Project named MyTestProj, Dialog Based)
Project->Properties->Configuration Properties...
Everything is BLANK ? tried changing Configuration/Platform/Configuration Manager but still all blanks.
Any ideas would be much appreciated !
(I desparately need to turn off using Precompiled Headers)
Cheers
|
|
|
|
|
Hello all,
Does anyone know how to figure out the default mail client and then start it from a dialog?
I want the user to be able to select an option to fire off the mail client from within my application.
Thanks,
Murrah Boswell
|
|
|
|
|
ShellExecute()
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
Yeah, that's where I ended up!
Thanks!
|
|
|
|
|
(might sound outdated but I have a nice aplication for that..)
How can I create an Active Document Server that is in-place activated? (Like a Word document added to a project opens in-place in Visual Studio). Using MFC AppWizard and creating a full automation server, it still opens in a separate executable.
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
|
|
Itdid not, but it does tell me I'm on the right track
[edit] found the difference:
I have to insert it using "Other Document". Still get an Assert, but it mostly works.
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
|
Hi all, What is the best way to print inside MFC (Visual 2002). I have tried TextOut but that sucks because every printer is different. I am getting the idea that MFC can't do a very good job of printer because of limited functions? hopefully, its my limited knowledge.
|
|
|
|
|
I'm sad to say that it is your limited knowledge
With GetDeviceCaps , you can get the resolution for the output media (be it screen or printer). You can use the value - compared with that of the screen - to scale your drawing and font creation.
For text only, you can also create fonts in typographical points - CreatePointFont and CreatePointFontIndirect .
Finally, you might want to set the mapping mode to one of the physical coordinate systems - see SetMapMode on MSDN.
|
|
|
|
|
Hi Johan,
Thank you for the support. I will be working on this problem this weekend. Sadly, printing is my weakest skills but this project will force me to be better. I guess I have put off printing long enough. Thnx again.
|
|
|
|
|
It's not much different from working with the screen, actually. The big problem is designing drawing code that makes no assumptions regarding the output resolution.
|
|
|
|
|
My question concerns the setting of controls on "not-yet visited" property pages.
I have a PropertySheet dialog with 3 property pages. I have followed the common convention of creating this property sheet as found here at CP and also in the MSDN Library. The operation of this works good and I would say the creation of the Sheet/Pages is good too, except for what I want to do.
I am reading an external config file (text) and would like to pre-load my pages with values read from the config file. I can do this for the first page with no problems. When I try to load values into controls on other pages, it crashes with undefined window handles. HOWEVER, if I visit each page first and then pre-load my pages, everything is fine - what gives???
I have tried to circumvent the OnInitDialog() for each page, but this proved unsuccessful - same results.
Can anyone help me with what I want to do?
Thank you,
John John
|
|
|
|
|
|
Michael describes the default behaviour correctly. But if you're using version 4.71 or higher, you can specify PSP_PREMATURE as one of the values assigned to the dwFlags member of each PROPSHEETPAGE structure. Each page that has this value toggled on will be created when the property sheet is created (as opposed to waiting until it is first changed to).
|
|
|
|
|
|
I have a SDI application that I have added other classes to. Sometimes I need to access the doc file from those classes to update a document variable. I am not sure if I can get to the mainframe from one of the classes and access the doc file that way, or if I should use forward referencing to send messages directly to the doc file. Forward referencing sounds like it should be do-able, but I dont know how to capture the doc object in my other classes.
Thanks.
Jerry
|
|
|
|
|
If you have other classes that need to update a document, then I suggest that you put a pointer to the docuemtn in the classes from the beginning.
For window-based classes, you might want to consider sending messages to the main window using AfxGetMainWnd , this would probably feel natural for others reading/maintaining your code.
|
|
|
|
|
I have a client application that connects to a server application using connection based sockets. Is there any particular error message that I could capture on the client if the network cable is broken or broken and reconnected? I know there are some error message that can let you know if the network is down or unreachable.
Thanks.
Jerry
|
|
|
|
|