|
bward84 wrote: I get a Debug Assertion Failed box saying that the error occured on line 143 of filecore.cpp
What's on that line? In the version I have, it's
ASSERT(shareCompat == 0);
where shareCompat is an enumeration value == 0.
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Hi. To get answer on your question, look here -> http://forums.microsoft.com/msdn/showpost.aspx?postid=8663&siteid=1
|
|
|
|
|
I am having trouble viewing that page, it is not loading. I will try again after some necessary meetings. Thank you for the help.
|
|
|
|
|
I have got an MFC dialog with a CEdit control. I wish to toggle the "passwordish" behaviour of the control but:
m_oNetworkKeyEdit.ModifyStyle( 0, ES_PASSWORD );
or
m_oNetworkKeyEdit.ModifyStyle( ES_PASSWORD, 0 );
do not do anything. Is there a way, or do I actually have to use CreateWindow() to create a new window each time?
Thanks A Million
Adam
_____________________________________
Action without thought is not action
Action without emotion is not life
|
|
|
|
|
Adam, see the 3rd last post on this[^] page.
/ravi
|
|
|
|
|
The ES_PASSWORD style can't be removed.
Try m_oNetworkKeyEdit.SetPasswordChar(0);
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Create two controls; one with and the other without. Call ShowWindow() accordingly.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I haven't got this file! I've got Visual Studio 6 on my system with, I presume, MFC 6. Do I have to upgrade to a newer MFC to get this?
|
|
|
|
|
I'm pretty certain you have to upgrade.
|
|
|
|
|
It sounds like it's part of a 3rd party library. I don't have that file in any version of VC or PSDK on my machine right now.
|
|
|
|
|
Michael, You are my hero! I was interested in this header file because I wanted to make text entries in a list control appear in different colours. I have just looked at your 'Neat Stuff to do in List Controls Using Custom Draw' and used the method you describe and it has worked like a dream.
|
|
|
|
|
I'm currently workin on a project and was wondering if anyone knew of a way to open up a web page using C++ code, and then set the size of the screen that opens, or does anyone know of anywhere to get some more help
|
|
|
|
|
I use the class in this[^] article to open a web page from my app.
/ravi
|
|
|
|
|
Tully2003 wrote:
I'm currently workin on a project and was wondering if anyone knew of a way to open up a web page using C++ code...
ShellExecute() will do just that.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I have used ReadDirectoryChangesW with recursive for sub-folders and watched changes in "c:\". It gave me output for a while and suddenly Microsoft thrown dialog something like "Not responding"....
Is their anyway to "Get the information of the file which is get added/modified/deleted anywhere on computer"
Thanks In advance.....
AmolM
|
|
|
|
|
Aamol M wrote: It gave me output for a while...
How long?
Aamol M wrote: ...and suddenly Microsoft thrown dialog something like "Not responding"....
So are you not using ReadDirectoryChangesW() correctly?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I am using "ReadDirectoryChangesW()" and gave "C:\" as path.
The file changes were so fast.
It gave me output for about 200-250 notifications tentatively....
And after it "Not Responding" - "Send A report To Microsoft Dialog"
Now What should I use to "Get the information of the file which is get added/modified/deleted anywhere on computer"
Can I have sample code for it or something like that
Thanks For Reply...
AmolM
|
|
|
|
|
Aamol M wrote: Now What should I use to "Get the information of the file which is get added/modified/deleted anywhere on computer"
The information is contained in the second argument passed to ReadDirectoryChangesW() . It's in the format of a FILE_NOTIFY_INFORMATION struct.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Yes Sir,
I am using "FILE_NOTIFY_INFORMATION" struct but my problem is I want to find the changed file Inforamtion that has changed ANYWHERE on computer.
ReadDirectoryChangesW()takes first parameter as path - where to search. But now here I want to search for change ANYWHERE on the computer
Thanks In advance...
AmolM
|
|
|
|
|
What's wrong with:
ReadDirectoryChangesW(hFolder, pBuffer, dwbufLen, TRUE, ...);
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
ReadDirectoryChangesW(hFolder, pBuffer, dwbufLen, TRUE, ...);
takes first argument as "hFolder" == Name of Folder
But I wanted to track whole computer (C:\,D:\E:\ etc).
File can be copied, added, deleted etc anywhere on the computer (C:\,D:\E:\ )
I dont know........
So here what should be given as a value for "hFolder" then ????
I tried with "C:\" as argument for "hFolder" but it worked for 200-250 files and get crashed OR "NotResponding" messgae from Windows making application to close.
But here my argument should not be C:\ or D:\ or something like that, coz I want to handle event for all of them....
So what should be done in this case.....
Can u again review my question Please ????
There was again Specific requirement that only ".jpg" file should be tracked.
i.e. another application can add, delete or change .jpg file anywhere on the computer (C:\, d:\, E:\ etc) I dont know.....
This could be greate help if u can explain what should be done or any sort of code for it.
Thanks Again for previous replies....
and Thanks in Advance toooo
AmolM
|
|
|
|
|
What value do you have for the fourth argument to ReadDirectoryChangesW() ?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Parameter 4:- bWatchSubtree "true"
So it will look up in sub-folders also.
AmolM
|
|
|
|
|
Hi,
I am creating a resizable dialog box with system menu because I need the close button but I don't want to show the menu icon (before the caption). So how can I do that
Remember this is a resizable dialog box and I do not want flicker on the title bar if the dialog is resized
|
|
|
|
|
hi everyone
i am working on conversion of audio file formats.i want to convert mp3 to WAVE,
i want to ask how can i do that,if i access the data from MP3 frame,it is an compressed one,how can i decompress it,because there are no specifications related to decoding of MP3.
and secondly it will already be lossy data.so how can i get original data,which is uncompressed
|
|
|
|