Dear all:
When I saved a text data file, how can I distingiush between binary and asccii text file..?
I can't find any option in the _lwrite function..
I want to read my data in a text editor...
I get the unresolved external symbol error message when trying to build my program.
unresolved external symbol _Process32Next@8
unresolved external symbol _Process32First@8
unresolved ext...
I need the complete RTF(Rich Text Format) file grammar / syntax. Because I want to be able to save my custom "document" format in RTF.
Thanks for your help
I want to take a Dialog I created in the resource editor and use it as the only window in the application (as far as a user is concerned). The problem is that anything which is not a control ...
I've got an existing console program that we'd like to add
a COM interface to. We'd like it to be a COM server for
a particular interface, that will query it for some data.
Using VC++ 5.0 an...
Hi;
I am a beginning programmer a few months out of school.
I have been trying to become a windows programmer and have been studying Charels Petzold's
"PROGRAMMING WINDOWS95"
I have had trou...
I'm developing an application that will print documents without any user interaction. This is to be done by reading the registry entries under HKEY_CLASSES_ROOT\<document type>\shell\print and...
Is there a way to get the handle for eg. the Netscape window. FindWindow won't work here, since I don't know what the title of the window would be (netscape inserts the title of the page in th...
I have implemented a modeless dialog box as an irc-style chat window for my network application (game). I created it using vc++ 5.0 with MFC. My current implementation is this...
When a new ...
Hi,
I have handled OnClick and OnDblClick methods on the tree control. I wanted
to see if the user had clicked or double clicked on a node in the tree,
however the HitTest always returns null...
hello everybody
I want to check if a certain process is still running (not terminated). All I have is the PID.
Does anybody know how to do this (must work with 95/98/NT).
regards
Pacman
What is the difference? I have used both functions extensively but have never found a difference. Can someone please explain the difference?
e.g. PostMessage( hwnd,WM_CLOSE,0,0 );
yields t...
In windows 95, 98 and VC++6.0.
I want to protect deleting a specific file or directory.
for example,, after my program sets a file or directory,
my program's monitoring the file or directory s...
How do I wait until a Thread a submitted
(_beginThread) finished properly.
Hi
I can't seem to get EM_SCROLLCARET to work in richedit 2.0. I can use EM_SCROLL, but EM_SCROLLCARET always returns 0. And the docs say that EM_SCROLLCARET can be used with richedit 2.0...
hello,
i cant find the correct message in msdn to tell the edit box i want to send it text. can someone tell me what the correct msg is and where in msdn i can find this info to work with...
Do anyone out there have there the source code for DefWindowProc?
I want to change the color of a button on my dialog.
I know I have to check WM_CTLCOLORBTN. But I need some code snippet please. The HWND of my button is BUT. Ok thanks
If somebody can explain why when we are pressed twice on a owner draw style button with a short period of time parent window get only one command message.
Rcmd.exe from the nt resource kit allows me to run a console base app on a remote computer but I cant work out the correct syntax to pass my cmdline.
My cmdline that works from the command ...
I am writing an app, which needs to be able to start and kill other apps. Killing is not a problem, but I'd like to be able to tell the app to close ( allowing it to cleanup ), then kill it af...
i want to put a background bmp + move some bmp on this background
how do i draw a bitmap on a regular cwnd ?