Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error Message Function Pin
Cedric Moonen11-Oct-06 21:49
Cedric Moonen11-Oct-06 21:49 
QuestionRe: Error Message Function [modified] Pin
Programm3r11-Oct-06 21:53
Programm3r11-Oct-06 21:53 
AnswerRe: Error Message Function Pin
Cedric Moonen11-Oct-06 22:16
Cedric Moonen11-Oct-06 22:16 
GeneralRe: Error Message Function Pin
Programm3r11-Oct-06 22:27
Programm3r11-Oct-06 22:27 
GeneralRe: Error Message Function Pin
Cedric Moonen11-Oct-06 22:38
Cedric Moonen11-Oct-06 22:38 
GeneralRe: Error Message Function Pin
Mark Salsbery12-Oct-06 5:59
Mark Salsbery12-Oct-06 5:59 
Questionclosing the splash-screen when any keyboard key is pressed Pin
Veeresh Hiremath11-Oct-06 21:22
Veeresh Hiremath11-Oct-06 21:22 
AnswerRe: closing the splash-screen when any keyboard key is pressed Pin
Ranjan Shrestha11-Oct-06 22:08
Ranjan Shrestha11-Oct-06 22:08 
Well one simple solution would be using WM_KEYDOWN message or OnKeyDown() in MFC which i hope you already know.

Another way out is to use Keyboard Hook. When the splash screen is created, create a keyboard hook and use a callback function to trap any(really any) key pressed. Destroy the Splash Screen window in the callback function. And also don't forget to unhook the Keyboard callback as soon as the splash screen is destroyed (important).
Refer to following functions in MSDN:
SetWindowsHookEx()
KeyboardProc()
UnhookWindowsHookEx()


Questionbitmap in button Pin
zizzzz11-Oct-06 21:12
zizzzz11-Oct-06 21:12 
AnswerRe: bitmap in button Pin
Programm3r11-Oct-06 21:36
Programm3r11-Oct-06 21:36 
AnswerRe: bitmap in button Pin
Veeresh Hiremath11-Oct-06 21:41
Veeresh Hiremath11-Oct-06 21:41 
AnswerRe: bitmap in button Pin
Hamid_RT12-Oct-06 2:03
Hamid_RT12-Oct-06 2:03 
QuestionHow to send Trace message to file instead of debugger? Pin
ccp99911-Oct-06 21:10
ccp99911-Oct-06 21:10 
AnswerRe: How to send Trace message to file instead of debugger? Pin
Programm3r11-Oct-06 21:38
Programm3r11-Oct-06 21:38 
AnswerRe: How to send Trace message to file instead of debugger? Pin
Hamid_RT13-Oct-06 7:45
Hamid_RT13-Oct-06 7:45 
AnswerRe: How to send Trace message to file instead of debugger? Pin
Hamid_RT17-Oct-06 1:07
Hamid_RT17-Oct-06 1:07 
QuestionRecovering deleted items Pin
neha.agarwal2711-Oct-06 20:36
neha.agarwal2711-Oct-06 20:36 
AnswerRe: Recovering deleted items Pin
act_x11-Oct-06 20:40
act_x11-Oct-06 20:40 
QuestionKeeping smart pointers in a dynamic array. Pin
VCSharp00711-Oct-06 20:06
VCSharp00711-Oct-06 20:06 
AnswerRe: Keeping smart pointers in a dynamic array. Pin
act_x11-Oct-06 20:25
act_x11-Oct-06 20:25 
GeneralRe: Keeping smart pointers in a dynamic array. Pin
Stephen Hewitt11-Oct-06 21:19
Stephen Hewitt11-Oct-06 21:19 
GeneralRe: Keeping smart pointers in a dynamic array. Pin
VCSharp00711-Oct-06 21:57
VCSharp00711-Oct-06 21:57 
GeneralRe: Keeping smart pointers in a dynamic array. Pin
Stephen Hewitt11-Oct-06 22:02
Stephen Hewitt11-Oct-06 22:02 
QuestionCListCtrl row selection Pin
velayudhan_raj11-Oct-06 19:44
velayudhan_raj11-Oct-06 19:44 
AnswerRe: CListCtrl row selection Pin
Sachinpatole11-Oct-06 19:54
Sachinpatole11-Oct-06 19:54 

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.