Click here to Skip to main content
16,012,107 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to remove splash using the commandline? Pin
2-Mar-01 16:48
suss2-Mar-01 16:48 
GeneralRe: How to remove splash using the commandline? Pin
2-Mar-01 19:06
suss2-Mar-01 19:06 
GeneralRe: How to remove splash using the commandline? Pin
l a u r e n3-Mar-01 7:55
l a u r e n3-Mar-01 7:55 
QuestionCtrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Joan M2-Mar-01 16:13
professionalJoan M2-Mar-01 16:13 
AnswerRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Tim Deveaux3-Mar-01 3:23
Tim Deveaux3-Mar-01 3:23 
GeneralRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Joan M3-Mar-01 3:31
professionalJoan M3-Mar-01 3:31 
GeneralRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Tim Deveaux3-Mar-01 13:39
Tim Deveaux3-Mar-01 13:39 
GeneralRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Tim Deveaux5-Mar-01 7:39
Tim Deveaux5-Mar-01 7:39 
Have had a look at that code I posted wrt NT, and it is pretty bogus.

For a system wide hook under NT you really want to put the hook in a DLL. I was able to use the code as a local thread hook by supplying a thread ID:

SetWindowsHookEx(WH_CALLWNDPROC,(HOOKPROC)HookDeMostrarFinestres,NULL,AfxGetThread()->m_nThreadID);

but I think thats about the best you can do if the hook is not in a separate lib - on NT anyway. Running this in debug on win98 was misleading.

Am also rethinking the use of the .def file in sharing the handle. Perhaps a #pragma comment(linker, "/SECTIONS... would do the trick.

Anyway, I am thinking out loud here - just thought I'd depreciate that last posting. I'm going to be thinking more on this in the context of a quirk I'm seeing in a project. A local hook might be a useful debug tool - but the code as posted needs a bit of refining.
AnswerRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
l a u r e n3-Mar-01 11:14
l a u r e n3-Mar-01 11:14 
AnswerRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Erik Funkenbusch5-Mar-01 10:28
Erik Funkenbusch5-Mar-01 10:28 
Generaldata between classes Pin
2-Mar-01 15:54
suss2-Mar-01 15:54 
GeneralRe: data between classes Pin
l a u r e n3-Mar-01 4:23
l a u r e n3-Mar-01 4:23 
Generalsetting active partition Pin
2-Mar-01 12:48
suss2-Mar-01 12:48 
GeneralRe: setting active partition Pin
l a u r e n3-Mar-01 7:52
l a u r e n3-Mar-01 7:52 
GeneralCFile::Read Pin
Vickie2-Mar-01 8:25
Vickie2-Mar-01 8:25 
GeneralRe: CFile::Read Pin
Daniel Ferguson2-Mar-01 9:44
Daniel Ferguson2-Mar-01 9:44 
GeneralPLEEEASE!!! HELP ME NOW OR I'M FIRED!!! HOW DO I... Pin
2-Mar-01 7:24
suss2-Mar-01 7:24 
GeneralRe: PLEEEASE!!! HELP ME NOW OR I'M FIRED!!! HOW DO I... Pin
l a u r e n2-Mar-01 10:39
l a u r e n2-Mar-01 10:39 
GeneralRe: PLEEEASE!!! HELP ME NOW OR I'M FIRED!!! HOW DO I... Pin
Tim Deveaux2-Mar-01 10:55
Tim Deveaux2-Mar-01 10:55 
GeneralRe: PLEEEASE!!! HELP ME NOW OR I'M FIRED!!! HOW DO I... Pin
Christian Graus2-Mar-01 12:19
protectorChristian Graus2-Mar-01 12:19 
GeneralUppercase --- Urgent Pin
2-Mar-01 6:34
suss2-Mar-01 6:34 
GeneralRe: Uppercase --- Urgent Pin
Chris Losinger2-Mar-01 7:55
professionalChris Losinger2-Mar-01 7:55 
GeneralRe: Uppercase --- Urgent Pin
Daniel Ferguson2-Mar-01 9:30
Daniel Ferguson2-Mar-01 9:30 
GeneralCSplitterWnd and CMDIFrameWnd Pin
Sjoerd van Leent2-Mar-01 4:35
Sjoerd van Leent2-Mar-01 4:35 
GeneralRe: CSplitterWnd and CMDIFrameWnd Pin
Daniel Ferguson2-Mar-01 5:30
Daniel Ferguson2-Mar-01 5:30 

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.