Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Setup creator Pin
Gary R. Wheeler3-Aug-06 3:17
Gary R. Wheeler3-Aug-06 3:17 
Questionanalysis and answers to ACM ICPC? Pin
George_George3-Aug-06 0:44
George_George3-Aug-06 0:44 
AnswerRe: analysis and answers to ACM ICPC? Pin
Abdullatif M. Abu Al Rub6-Nov-11 7:35
Abdullatif M. Abu Al Rub6-Nov-11 7:35 
QuestionTANKS GUYS BUT... I NEED MORE HELP !!! [modified] Pin
Bravoone_20063-Aug-06 0:35
Bravoone_20063-Aug-06 0:35 
AnswerRe: TANKS GUYS BUT... I NEED MORE HELP !!! Pin
Naveen3-Aug-06 0:53
Naveen3-Aug-06 0:53 
AnswerRe: TANKS GUYS BUT... I NEED MORE HELP !!! Pin
Hamid_RT3-Aug-06 0:53
Hamid_RT3-Aug-06 0:53 
AnswerRe: TANKS GUYS BUT... I NEED MORE HELP !!! Pin
Rudolf Jan3-Aug-06 0:53
Rudolf Jan3-Aug-06 0:53 
QuestionLoad Accelerators did not work.. Pin
Anu_Bala3-Aug-06 0:29
Anu_Bala3-Aug-06 0:29 
Hi,I got response for my previuos postings about accelerators.
From that, I declared HACCEL in my dialog class which one to opened by shortcut key.Then i use LoadAccelerator function in OnInitDialog()
m_hAccelerators = ::LoadAccelerators(AfxGetResourceHandle(), MAKEINTRESOURCE(IDR_MYACCELERATORS));
and also overide PreTransalateMessage() as follow

BOOL CDlgItem::PreTranslateMessage(MSG* pMsg)
{
if (pMsg->message >= WM_KEYFIRST && pMsg->message <= WM_KEYLAST )
{
return TranslateAccelerator ( m_hWnd, m_hAccelerators, pMsg );
}
else
return CDialog::PreTranslateMessage(pMsg);
}
And my Resorce class shows like this
IDR_MYACCELERATORS ACCELERATORS DISCARDABLE
BEGIN
"I", IDD_DLG_ITEM, VIRTKEY, CONTROL, NOINVERT
END

But my short cut key does not work..

Anu

AnswerRe: Load Accelerators did not work.. Pin
Hamid_RT3-Aug-06 1:07
Hamid_RT3-Aug-06 1:07 
GeneralRe: Load Accelerators did not work.. Pin
Anu_Bala3-Aug-06 1:32
Anu_Bala3-Aug-06 1:32 
GeneralRe: Load Accelerators did not work.. Pin
Hamid_RT3-Aug-06 1:52
Hamid_RT3-Aug-06 1:52 
QuestionAsk Function problem?thanks Pin
rxgmoral3-Aug-06 0:27
rxgmoral3-Aug-06 0:27 
AnswerRe: Ask Function problem?thanks Pin
Viorel.3-Aug-06 1:36
Viorel.3-Aug-06 1:36 
AnswerRe: Ask Function problem?thanks Pin
prasad_som3-Aug-06 1:41
prasad_som3-Aug-06 1:41 
Questionbuilding a SOAP message Pin
MikBit2-Aug-06 23:45
MikBit2-Aug-06 23:45 
Questionhow can i develop file transfer program?plz Pin
mo7md852-Aug-06 23:34
mo7md852-Aug-06 23:34 
AnswerRe: how can i develop file transfer program?plz Pin
Hamid_RT3-Aug-06 0:13
Hamid_RT3-Aug-06 0:13 
AnswerRe: how can i develop file transfer program?plz Pin
David Crow3-Aug-06 3:00
David Crow3-Aug-06 3:00 
QuestionUnloading an Activex from IE memory Pin
gvsunil2-Aug-06 23:30
gvsunil2-Aug-06 23:30 
Questionif is someone who can help me? PLEASE !!!!!!!!! PLZ!!!!!! Pin
Bravoone_20062-Aug-06 22:55
Bravoone_20062-Aug-06 22:55 
AnswerRe: if is someone who can help me? PLEASE !!!!!!!!! PLZ!!!!!! Pin
includeh102-Aug-06 23:01
includeh102-Aug-06 23:01 
AnswerRe: if is someone who can help me? PLEASE !!!!!!!!! PLZ!!!!!! Pin
Parthi_Appu2-Aug-06 23:05
Parthi_Appu2-Aug-06 23:05 
GeneralRe: if is someone who can help me? PLEASE !!!!!!!!! PLZ!!!!!! Pin
Naveen2-Aug-06 23:22
Naveen2-Aug-06 23:22 
GeneralRe: if is someone who can help me? PLEASE !!!!!!!!! PLZ!!!!!! Pin
Parthi_Appu3-Aug-06 2:47
Parthi_Appu3-Aug-06 2:47 
AnswerRe: if is someone who can help me? PLEASE !!!!!!!!! PLZ!!!!!! Pin
Hamid_RT3-Aug-06 0:34
Hamid_RT3-Aug-06 0:34 

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.