Hi everybody,
anyone knows how to capture a Keyboard event occurring in a dialog (that has, obviously, the focus)?? The "OnKeyDown", "OnKeyPress", ecc... work only if you are in an EditBox. They do nothing when you give the focus to something that is not
a text box or...
Hi everybody,
I've a little problem: I can't intercept key-pressed messages in the dialog based applications.
In the "document view" style app, instead, the "OnKeyDown" message handler works perfectly.
What have I to do?!?
Thanks!!!
Hi everybody,
I've solved the problem: simply, when you perform a search using MFC functions you have to CLOSE THE SEARCH with
BOOL FindClose(HANDLE hFindFile);
If you don't close the search, the directory could not be removed becouse it continue to be used by a process.
So, for Jerry, add...
Thanks for your tips, but I use absolute paths and full control directories (to everyone), so... the problem must be something different :(
And, for Jerry, voila' the code:
void RemoveDirectory(CString path)
// path contains the absoulute path of directory
int morefiles=1,err;
char...
Hi!
I have to remove a directory, wich VC++ command do I have to use?!? "_rmdir" doesn't work even though and I've checked the basic conditions that have to be respected such as:
1) directory must be empty
2) directory to remove can't be the working directory
The command _rmdir simply...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.