Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIcon on the view(SDI) can't print in the MFC ,why? Pin
zhonglin.liang8-Jan-06 14:36
zhonglin.liang8-Jan-06 14:36 
AnswerRe: Icon on the view(SDI) can't print in the MFC ,why? Pin
vipinasda8-Jan-06 16:27
vipinasda8-Jan-06 16:27 
GeneralRe: Icon on the view(SDI) can't print in the MFC ,why? Pin
zhonglin.liang8-Jan-06 18:14
zhonglin.liang8-Jan-06 18:14 
QuestionDoes VC++ 2005 Standard include optimizing compiler ? Pin
Defenestration8-Jan-06 13:07
Defenestration8-Jan-06 13:07 
AnswerRe: Does VC++ 2005 Standard include optimizing compiler ? Pin
Gavin Taylor8-Jan-06 13:21
professionalGavin Taylor8-Jan-06 13:21 
Question#using will work in VC++6.0 also? Pin
sheshidar8-Jan-06 8:50
sheshidar8-Jan-06 8:50 
AnswerRe: #using will work in VC++6.0 also? Pin
Christian Graus8-Jan-06 10:04
protectorChristian Graus8-Jan-06 10:04 
QuestionMnemonics/Shortcut Key Problem Pin
RobertW1008-Jan-06 8:41
RobertW1008-Jan-06 8:41 
FYI, I am running Win 98 with Visual C++ 6.0.

I am writing a WIN32 Application that has 3 edit boxes with 3 static text controls. I want the user to be able to enter the keystroke "ALT-1" and be placed in edit in the first box, etc. I am creating all my windows in the WinMain function. Everything works ok when the window is displayed initially, but if I "ALT-TAB" to a different window or minimize the window then the "ALT-1" key sequence stops working. The same problem exists for the Menu shortcuts ("ALT+F" for example)

I looked at handling the WM_CREATE message but I am not sure that will really resolve my problem because it looks like WM_CREATE is handled even before WinMain is executed? I am pretty sure my problem is because I am creating all my windows in WinMain but I am unclear/uncertain what action I should take. I also don't know exactly what I should look for/search on at the MSDN website.Confused | :confused: I know there is something I am doing wrong I just don't know what it is....

Any ideas/suggesions are appreciated Smile | :)
Thanks!


AnswerRe: Mnemonics/Shortcut Key Problem Pin
Anilkumar K V8-Jan-06 17:12
Anilkumar K V8-Jan-06 17:12 
AnswerRe: Mnemonics/Shortcut Key Problem Pin
David Crow9-Jan-06 3:38
David Crow9-Jan-06 3:38 
GeneralRe: Mnemonics/Shortcut Key Problem Pin
RobertW10010-Jan-06 4:11
RobertW10010-Jan-06 4:11 
GeneralRe: Mnemonics/Shortcut Key Problem Pin
David Crow10-Jan-06 4:35
David Crow10-Jan-06 4:35 
QuestionMFC ActiveX Control Array Transfer Pin
godspeed1238-Jan-06 8:33
godspeed1238-Jan-06 8:33 
AnswerRe: MFC ActiveX Control Array Transfer Pin
Prakash Nadar8-Jan-06 14:56
Prakash Nadar8-Jan-06 14:56 
Questionmpeg1 splitter Pin
hmaturana8-Jan-06 8:33
hmaturana8-Jan-06 8:33 
QuestionSetting an integer to the Array number as opposed to the array value Pin
adamlowery8-Jan-06 8:14
adamlowery8-Jan-06 8:14 
AnswerRe: Setting an integer to the Array number as opposed to the array value Pin
Anilkumar K V8-Jan-06 17:40
Anilkumar K V8-Jan-06 17:40 
AnswerRe: Setting an integer to the Array number as opposed to the array value Pin
David Crow9-Jan-06 3:40
David Crow9-Jan-06 3:40 
QuestionQuestion about icons Pin
Maarten Kools8-Jan-06 7:15
professionalMaarten Kools8-Jan-06 7:15 
AnswerRe: Question about icons Pin
Ryan Binns8-Jan-06 17:17
Ryan Binns8-Jan-06 17:17 
QuestionImage Editing Pin
venkatakrishna_19808-Jan-06 6:44
venkatakrishna_19808-Jan-06 6:44 
AnswerRe: Image Editing Pin
Christian Graus8-Jan-06 10:05
protectorChristian Graus8-Jan-06 10:05 
Questionexplorer & filter Pin
denishernandez8-Jan-06 6:43
denishernandez8-Jan-06 6:43 
QuestionRe: explorer & filter Pin
David Crow9-Jan-06 3:42
David Crow9-Jan-06 3:42 
QuestionViewing Source Code Pin
adamlowery8-Jan-06 3:21
adamlowery8-Jan-06 3:21 

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.