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

C / C++ / MFC

 
QuestionC++ Runtime - different Instance in DLL? Pin
peterchen19-Oct-04 21:53
peterchen19-Oct-04 21:53 
AnswerRe: C++ Runtime - different Instance in DLL? Pin
jan larsen20-Oct-04 0:16
jan larsen20-Oct-04 0:16 
AnswerRe: C++ Runtime - different Instance in DLL? Pin
Nemanja Trifunovic20-Oct-04 3:39
Nemanja Trifunovic20-Oct-04 3:39 
GeneralRe: C++ Runtime - different Instance in DLL? Pin
peterchen20-Oct-04 6:20
peterchen20-Oct-04 6:20 
QuestionHow to set Shortcutkeys for Toolbar buttons? Pin
P_JAYAPRAKASH19-Oct-04 21:36
P_JAYAPRAKASH19-Oct-04 21:36 
AnswerRe: How to set Shortcutkeys for Toolbar buttons? Pin
Vikram Kashyap19-Oct-04 22:00
Vikram Kashyap19-Oct-04 22:00 
GeneralRe: How to set Shortcutkeys for Toolbar buttons? Pin
P_JAYAPRAKASH19-Oct-04 23:00
P_JAYAPRAKASH19-Oct-04 23:00 
GeneralRe: How to set Shortcutkeys for Toolbar buttons? Pin
Vikram Kashyap19-Oct-04 23:17
Vikram Kashyap19-Oct-04 23:17 
Hi,

Yes, you need to load that Accelerator table.
HACCEL gAccel; //Declare in header file

//Add this code to the OnInItDialog of your dialog class
gAccel = LoadAccelerators(AfxGetApp()->m_hInstance,MAKEINTRESOURCE(IDR_MYACCEL));

//Add this code to PreTranslateMessage
if(TranslateAccelerator(AfxGetMainWnd()->m_hWnd,gAccel,pMsg))
return FALSE;

This should work....
Thanx and Bye


Vikram Kashyap
"You will never fail until you stop trying"
General_Crt APIs Pin
vikramlinux19-Oct-04 21:01
vikramlinux19-Oct-04 21:01 
GeneralRe: _Crt APIs Pin
22491719-Oct-04 21:22
22491719-Oct-04 21:22 
GeneralRe: _Crt APIs Pin
vikramlinux20-Oct-04 0:55
vikramlinux20-Oct-04 0:55 
QuestionWhat I use function ASCII to char Pin
vc-programmer-19-Oct-04 20:43
vc-programmer-19-Oct-04 20:43 
AnswerRe: What I use function ASCII to char Pin
bryce19-Oct-04 21:02
bryce19-Oct-04 21:02 
GeneralDeveloping a smarter approach to using CTreeCtrl Pin
Jesper Knudsen19-Oct-04 20:14
Jesper Knudsen19-Oct-04 20:14 
GeneralProblem With ToolTipCtrl Pin
Azghar Hussain19-Oct-04 20:06
professionalAzghar Hussain19-Oct-04 20:06 
GeneralRe: Problem With ToolTipCtrl Pin
Sujan Christo20-Oct-04 1:24
Sujan Christo20-Oct-04 1:24 
GeneralRe: Problem With ToolTipCtrl Pin
Sujan Christo20-Oct-04 1:28
Sujan Christo20-Oct-04 1:28 
GeneralPrblm with SDI Pin
balajeedurai19-Oct-04 18:59
balajeedurai19-Oct-04 18:59 
GeneralRe: Prblm with SDI Pin
Vikram Kashyap19-Oct-04 19:38
Vikram Kashyap19-Oct-04 19:38 
GeneralRe: Prblm with SDI Pin
balajeedurai19-Oct-04 20:21
balajeedurai19-Oct-04 20:21 
GeneralRe: Prblm with SDI Pin
balajeedurai19-Oct-04 21:29
balajeedurai19-Oct-04 21:29 
GeneralHandles! Pin
hou_12619-Oct-04 16:37
hou_12619-Oct-04 16:37 
GeneralRe: Handles! Pin
22491719-Oct-04 21:17
22491719-Oct-04 21:17 
QuestionHow to convert between ANSI and UTF-8 strings? Pin
hou_12619-Oct-04 14:52
hou_12619-Oct-04 14:52 
AnswerRe: How to convert between ANSI and UTF-8 strings? Pin
Michael Dunn19-Oct-04 15:28
sitebuilderMichael Dunn19-Oct-04 15:28 

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.