|
Volume of sound that Beep generate it is very low . I need sound that it's volume was very high .
thanks .
|
|
|
|
|
Turn your speakers up, try a higher frequency, or play a wav file that has the volume turned up.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
No No . The sound that Beep generate it , transferred from system speaker , no sound card .
|
|
|
|
|
You're at the mercy of the hardware, and there is no solution if you don't have a sound card.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
how to learn basic concept of vc++
|
|
|
|
|
|
Buy a book. Google will give you plenty of hits, but a beginner book will give you a better grounding
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Christian Graus wrote: Google will give you plenty of hits, but a beginner book will give you a better grounding
Well said.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
Sonipriya wrote: how to learn basic concept of vc++
VC++ is obsolete. Learn <big><big>C#</big></big> instead!
|
|
|
|
|
Wrong board! I'm marking this as ABUSE!
|
|
|
|
|
Search for "beginners guide to dialog based applications" on Code Project. Its an excellent starting point.
|
|
|
|
|
Yes an also you can see a good articles on the codeproject
|
|
|
|
|
Hello,
I am trying to change the icon in my main appln window from the default (MFC icon) to something else. Back in the days of the MSVC 6 version, there was an option to set the mainframe icon to 16x16 bits, which would do what I'm trying to accomplish. In v. 2005 there does not seem to be a way to change the icon from 32x32 to 16x16. Or is there? Can anyone help me w/ this? Thx,
Ralf.
ralf.riedel@usm.edu
|
|
|
|
|
Try doing it programaticaly using SetClassLong() and GCL_HICONSM
|
|
|
|
|
If your main frame's resources are loaded by LoadFrame(IDR_xxx) then create/edit an icon resource
with the id == IDR_xxx and it will do WalderMort's suggestion for you. If the icon only has
32x32 size then the system will resize it when necessary. You can always add/remove other sizes
to the icon resource.
Mark
|
|
|
|
|
It's well-hidden in VC8. Right-click in the icon editor->Current icon image types->select a size
|
|
|
|
|
Hi ,
I getting always hFile = 0xfffff and i dont know what i did wrong.
Please help me.
<br />
bool CSearchFile::SearchFileInPath(CString &sFileName, CString &sPath, std::vector<char*>&cResultBuffer)<br />
{<br />
HANDLE hFile;
WIN32_FIND_DATA FileInformation;
bool bRetVal = false;<br />
<br />
if(sPath.IsEmpty() || (sPath.CompareNoCase(_T("*.*")) == -1))<br />
sPath.Format(_T("C:\\"));<br />
<br />
if(cResultBuffer.size() > 1 )<br />
{<br />
cResultBuffer.clear();<br />
}<br />
<br />
sFileName += _T("\\*.*");<br />
<br />
hFile = ::FindFirstFile(sFileName, &FileInformation);<br />
<br />
if(hFile != INVALID_HANDLE_VALUE)<br />
{<br />
.<br />
.<br />
.<br />
.<br />
}<br />
<br />
::FindClose(hFile);<br />
<br />
return bRetVal;<br />
}<br />
|
|
|
|
|
What is in sFileName when you call FindFirstFile() ? The code you posted can end up putting two backslashes in a row, which isn't legal in a file path.
|
|
|
|
|
OK,
My program is simple MFC program that take path ( root path ) and file name and look the file in this path and directories.
The sFileName is the name of the file.
I call FindFirstFile method when user press on button "Search" in the dialog. In this case user can set Path to be *.* or empty Path - in both cases it will look the file in C:\ directorie.
I try to remove the "\\*.*" part but its still dont work and i dont know why.
|
|
|
|
|
I mean what specifically is in sFileName ? When FindFirstFile() fails, what is the value of GetLastError() ?
|
|
|
|
|
Ok , i found the problem -
But if i need to search the current file in all C: driver ( all the harddisk ) how can i do it ?
|
|
|
|
|
|
Minor point; you should call ::FindClose() iside of the if() statement. (Windows doesn't care, but...)
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
You can check for \\ instead insert _T("\\*.*"); to sFileName.(If I remember you want to write a search,right)
|
|
|
|
|