Click here to Skip to main content
15,917,618 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Duplicate Dialogs Pin
Ryan Binns21-Jul-03 3:26
Ryan Binns21-Jul-03 3:26 
GeneralRe: Duplicate Dialogs Pin
Jay Hova21-Jul-03 3:39
Jay Hova21-Jul-03 3:39 
GeneralRe: Duplicate Dialogs Pin
Ryan Binns21-Jul-03 3:40
Ryan Binns21-Jul-03 3:40 
GeneralRe: Duplicate Dialogs Pin
G. Steudtel21-Jul-03 3:34
G. Steudtel21-Jul-03 3:34 
GeneralRe: Duplicate Dialogs Pin
Jay Hova22-Jul-03 9:42
Jay Hova22-Jul-03 9:42 
QuestionHow to disable CD ROM autoplay function? Pin
HansonDavid21-Jul-03 1:15
HansonDavid21-Jul-03 1:15 
AnswerRe: How to disable CD ROM autoplay function? Pin
Ryan Binns21-Jul-03 1:55
Ryan Binns21-Jul-03 1:55 
GeneralRe: How to disable CD ROM autoplay function? Pin
HansonDavid21-Jul-03 18:18
HansonDavid21-Jul-03 18:18 
Hi, Sir:
I saw your answer about disable CDROM autoplay function . and I think so that It is a very bad idea to change people's registry. And I have sawn the "Enable and Disable AutoPlay" in MSDN. I do it that:

UINT g_uQueryCancelAutoPlay = 0;
BOOL DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg) {
...
default:
if (!g_uQueryCancelAutoPlay)
{
g_uQueryCancelAutoPlay = RegisterWindowMessage(TEXT("QueryCancelAutoPlay"));
}
if (uMsg == g_uQueryCancelAutoPlay)
{
SetWindowLong(hDlg, DWL_MSGRESULT, TRUE);
return 1;
}
}
}

but I can't success. Can you tell me How to do it? I wish to get your reply? Thanks
GeneralRe: How to disable CD ROM autoplay function? Pin
Ryan Binns21-Jul-03 18:57
Ryan Binns21-Jul-03 18:57 
GeneralRe: How to disable CD ROM autoplay function? Pin
HansonDavid22-Jul-03 1:09
HansonDavid22-Jul-03 1:09 
GeneralRe: How to disable CD ROM autoplay function? Pin
Ryan Binns22-Jul-03 1:14
Ryan Binns22-Jul-03 1:14 
GeneralSet Screensaver!!!!!!!!!!!!!!!!!!!!!! Pin
xxhimanshu21-Jul-03 1:11
xxhimanshu21-Jul-03 1:11 
GeneralRe: Set Screensaver!!!!!!!!!!!!!!!!!!!!!! Pin
Ryan Binns21-Jul-03 1:50
Ryan Binns21-Jul-03 1:50 
GeneralRe: Set Screensaver!!!!!!!!!!!!!!!!!!!!!! Pin
xxhimanshu21-Jul-03 2:45
xxhimanshu21-Jul-03 2:45 
GeneralRe: Set Screensaver!!!!!!!!!!!!!!!!!!!!!! Pin
David Crow21-Jul-03 3:22
David Crow21-Jul-03 3:22 
QuestionFastest DATABASE protcol? Pin
Lars [Large] Werner21-Jul-03 1:04
professionalLars [Large] Werner21-Jul-03 1:04 
AnswerRe: Fastest DATABASE protcol? Pin
Mike Dimmick21-Jul-03 2:04
Mike Dimmick21-Jul-03 2:04 
AnswerRe: Fastest DATABASE protcol? Pin
Manfred Staiger21-Jul-03 2:07
Manfred Staiger21-Jul-03 2:07 
GeneralRe: Fastest DATABASE protcol? Pin
John M. Drescher21-Jul-03 3:50
John M. Drescher21-Jul-03 3:50 
AnswerRe: Fastest DATABASE protcol? Pin
Miguel Lopes21-Jul-03 2:29
Miguel Lopes21-Jul-03 2:29 
GeneralRe: Fastest DATABASE protcol? Pin
Lars [Large] Werner21-Jul-03 3:32
professionalLars [Large] Werner21-Jul-03 3:32 
GeneralRe: Fastest DATABASE protcol? Pin
John M. Drescher21-Jul-03 3:56
John M. Drescher21-Jul-03 3:56 
GeneralRe: Fastest DATABASE protcol? Pin
Lars [Large] Werner21-Jul-03 4:13
professionalLars [Large] Werner21-Jul-03 4:13 
GeneralRe: Fastest DATABASE protcol? Pin
John M. Drescher21-Jul-03 4:28
John M. Drescher21-Jul-03 4:28 
GeneralRe: Fastest DATABASE protcol? Pin
Lars [Large] Werner21-Jul-03 4:35
professionalLars [Large] Werner21-Jul-03 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.