|
does anyone know how to add personalized buttons to the windows explorer tool bar??
|
|
|
|
|
see
http://www.codeproject.com/atl/ietoolbartutorial.asp
or
http://www.codeproject.com/useritems/toolband.asp
|
|
|
|
|
Hi, all!!!
Does anyone know how can I catch ALT+CTRL+DEL before the system (win 2000)?
10x.
Name: STR
BTW: for some of you that wished for CodeProject irc server
I create a channle on DalNet called "#CodeProject"
|
|
|
|
|
I'm not sure but I think you mean CTRL+ALT+DEL
-Matt Newman
|
|
|
|
|
lol, You can call SystemParametersInfo(SPI_SCREENSAVERRUNNING....
or something like this and you can no longer press CTRL-ALT-DEL or ALT-CTRL-DEL or... whatever you like.
|
|
|
|
|
The whole point of CTRL+ATL+DEL (as I once heard somewhere) is that you can't get it because it prevents anyone writing things that can popup and pretend to be windows and get user's passwords.
So it would be a serious security hole if there was a way to intercept it.
|
|
|
|
|
There are several alternatives in Win2k
1. Make another similar OS
2. Get the source code from Win2k, change it and rebuild
3. Hack the kernel
Well, CTRL-ALT-DEL is protected by the OS.
See the help instructions at "press CTRL-ALT-DEL to logon" screen. (Yes, there is a help there!)
It explains how to press CTRL-ALT-DEL (I´m not kidding) and why the OS is made this way.
Furor fit laesa saepius patientia
|
|
|
|
|
I need my COM object to fire an event or just have one -- i have only used c/c++ and never Visual Basic, so i'm not really sure how it all works, but if i get the code, i can figure out how it works from there...
SHABBA!!
|
|
|
|
|
|
Thanks man, it did help quite a bit~~!
SHABBA!!
|
|
|
|
|
I am developing an application that uses TAPI and voice recognition to maintain voice mails.
I would like to use an inexpensive voice modem to provide the hardware interface. One possibility is PcTel V.90 Voice/Fax/Data Modem. This is a voice capable soft modem.
I am looking for examples on how to capture the raw data stream from the speaker in real-time. I want to support both touch-tone (DTMF) and voice navigation of the menus.
I need the real-time capture so that I can process the voice as the user is speaking. I can then isolate phrases and perform comparisons on command sets.
Does anyone have example code on how to capture voice messages real-time through TAPI? I want to avoid sending the voice to a file first. Is it possible to direct the raw voice to a memory-based file?
Thanks
TJW
|
|
|
|
|
Have you looked at the Microsoft Speech SDK. Version 4 of the SDK had some TAPI samples, I guess the latest version will still have those too.
Michael
|
|
|
|
|
put names into the first column and numbers into the second.
need help on this bad
|
|
|
|
|
I have bene surfing around the net, and have found a few examples of using hooks to record information from the keyboard, however I have been unable to find anything to play stuff back (ie: a macro program) to a task/program.
|
|
|
|
|
Take a look of the Journal hooks, you also find an example in the MSDN.
Will
|
|
|
|
|
I found a lot of chat options, but i'm really looking for an mIRC style code, i mean send & receive files and chat via IRC, i'm learning very fast thanks to this page
|
|
|
|
|
Well i'm registered now, i just want to know how make that simple thing, is there anyway?
|
|
|
|
|
Can anybody tell me how to convert from 8.3 format filenames to long filenames under Win95. GetLongPathName() is only available from Win98 upwards.
|
|
|
|
|
Just in case anybody else has the same problem here is one solution I was given by someone in one of the Borlands newsgroups:
void GetLongFileName(LPSTR src,LPSTR dest)
{
LPSHELLFOLDER psfDesktop = 0;
ULONG chEaten = 0;
LPITEMIDLIST pidlShellItem = 0;
char szLongPath[MAX_PATH] = { 0 };
WCHAR szShortPath[MAX_PATH];
MultiByteToWideChar(CP_ACP,0,filename,-1,szShortPath,sizeof(szShortPath));
HRESULT hr = ::SHGetDesktopFolder(&psfDesktop);
if (hr != NOERROR)
return;
hr = psfDesktop->ParseDisplayName(0, 0, szShortPath, &chEaten, &pidlShellItem, 0);
psfDesktop->Release();
if (hr != NOERROR)
return;
bool retval=SHGetPathFromIDList(pidlShellItem,szLongPath);
LPMALLOC pMalloc = 0;
if (SHGetMalloc(&pMalloc) == NOERROR)
{
pMalloc->Free(pidlShellItem);
pMalloc->Release();
}
if (!retval)
return filename;
strcpy(dest,szLongPath);
}
|
|
|
|
|
I heard somewhere that you can use FindFirstFile() to do the conversion.
Maybe it could be quickier.
Paolo
------
"airplane is cool, but space shuttle is even better" (J. Kaczorowski)
|
|
|
|
|
Thanks for the info, that was another solution I was given from someone in one of microsofts newsgroups.
|
|
|
|
|
I am currently looking for a sample code in visual c++ mfc based that will do a simple image frame animation using worker thread. Can anyone point me out where can I get it?
thank you.
p/s what i mean by image frame animation is that the canvas will continuos display difference image file continuously once it recived message from worker thread. This will look like the image is animating
|
|
|
|
|
Consider the following code. I'm trying to use path to create a region.
I cant understand why RgnRect dos not reflect what I have drawn and
so the region I obain is smaller than the rectangle I have drawn.
Is there anyone that can help me ?
Thankyou in advance.
Ezio Endrigo
Venezia - Italy
CMyView::OnDraw( CDC* pDC)
{
RECT client;
pDC->GetClientRect( &client);
pDC->CSetMapMode( hDC, MM_ISOTROPIC);
int winExtX=1000;
int winExtY=1500;
pDC->SetWindowExt( winExtX, winExtY);
int viewPortExtX=client.right-client.right/5;
int viewPortExtY=-client.bottom+client.bottom/5;
pDC->SetViewportExt( viewPortExtX, viewPortExtY);
POINT point;
point.x=winExtX;
point.y=winExtY;
pDC->LPtoDP( &point);
int viewPortOrgX=(client.right/2)-(point.x/2);
int viewPortOrgY=(client.bottom-client.bottom/5);
pDC->SetViewportOrgEx( viewPortOrgX, viewPortOrgY);
pDC->BeginPath();
pDC->MoveToEx( 0, 0);
pDC->LineTo( 0, 1500);
pDC->LineTo( 1000, 1500);
pDC->LineTo( 1000, 0);
pDC->LineTo( 0, 0);
pDC->CloseFigure();
pDC->EndPath();
CRgn Rgn;
Rgn.CreateFromPath( pDC );
RECT RgnRect;
Rgn.GetRgnBox( &RgnRect);
Rgn.DeleteObject();
}
|
|
|
|
|
Hi - I need urgent help. I need some Visual C++ code that will allow me to export a screen image as a BMP/GIF and to save the file. I would greatly appreciate anyone's help. I am a newbie and need to do this somewhat urgently. Thanks everybody!
Imran
|
|
|
|
|
Search for CXImage on this site
its was added in the last few days
CxImage is a C++ class to load, save, display, transform BMP, JPEG, GIF, PNG, TIFF, MNG, and ICO images.
|
|
|
|