Click here to Skip to main content
15,924,195 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Question label in caption bar? Pin
Stephen Hewitt9-Mar-06 0:21
Stephen Hewitt9-Mar-06 0:21 
GeneralRe: Question label in caption bar? Pin
Frank Isensee9-Mar-06 0:34
Frank Isensee9-Mar-06 0:34 
GeneralRe: Question label in caption bar? Pin
Stephen Hewitt9-Mar-06 0:35
Stephen Hewitt9-Mar-06 0:35 
GeneralRe: Question label in caption bar? Pin
Nibu babu thomas9-Mar-06 0:40
Nibu babu thomas9-Mar-06 0:40 
GeneralRe: Question label in caption bar? Pin
Frank Isensee9-Mar-06 0:54
Frank Isensee9-Mar-06 0:54 
QuestionHow to play old Fast Tracker 2 XM files? Pin
bouli8-Mar-06 23:59
bouli8-Mar-06 23:59 
QuestionHow to use accelerator in Dialog application Pin
kflrei8-Mar-06 23:55
kflrei8-Mar-06 23:55 
AnswerRe: How to use accelerator in Dialog application Pin
Nibu babu thomas9-Mar-06 0:04
Nibu babu thomas9-Mar-06 0:04 
Declare a member variable of type HACCEL
HACCEL m_hAccelerators;
Inside OnInitDialog
m_hAccelerators = ::LoadAccelerators(AfxGetResourceHandle(), MAKEINTRESOURCE(IDR_MYACCELERATORS));

now inside PreTranslateMessage function...
BOOL CAccelTestDlg::PreTranslateMessage(MSG* pMsg) 
{
	if (pMsg->message >= WM_KEYFIRST  &&  pMsg->message <= WM_KEYLAST )
	{
		return TranslateAccelerator ( m_hWnd, m_hAccelerators, pMsg );
	}
	else
		return CDialog::PreTranslateMessage(pMsg);
}



Nibu thomas
Software Developer

Questionworking with string-newbie Pin
antonaras_marcou8-Mar-06 23:35
antonaras_marcou8-Mar-06 23:35 
AnswerRe: working with string-newbie Pin
toxcct8-Mar-06 23:40
toxcct8-Mar-06 23:40 
GeneralRe: working with string-newbie Pin
antonaras_marcou8-Mar-06 23:50
antonaras_marcou8-Mar-06 23:50 
GeneralRe: working with string-newbie Pin
toxcct8-Mar-06 23:54
toxcct8-Mar-06 23:54 
GeneralRe: working with string-newbie Pin
antonaras_marcou9-Mar-06 0:02
antonaras_marcou9-Mar-06 0:02 
GeneralRe: working with string-newbie Pin
toxcct9-Mar-06 0:10
toxcct9-Mar-06 0:10 
GeneralRe: working with string-newbie Pin
antonaras_marcou9-Mar-06 0:15
antonaras_marcou9-Mar-06 0:15 
GeneralRe: working with string-newbie Pin
toxcct9-Mar-06 0:20
toxcct9-Mar-06 0:20 
GeneralRe: working with string-newbie Pin
Stephen Hewitt9-Mar-06 0:31
Stephen Hewitt9-Mar-06 0:31 
GeneralRe: working with string-newbie Pin
toxcct9-Mar-06 0:33
toxcct9-Mar-06 0:33 
AnswerRe: working with string-newbie Pin
Stephen Hewitt8-Mar-06 23:44
Stephen Hewitt8-Mar-06 23:44 
GeneralRe: working with string-newbie Pin
antonaras_marcou8-Mar-06 23:56
antonaras_marcou8-Mar-06 23:56 
GeneralRe: working with string-newbie Pin
Stephen Hewitt8-Mar-06 23:59
Stephen Hewitt8-Mar-06 23:59 
GeneralRe: working with string-newbie Pin
antonaras_marcou9-Mar-06 0:05
antonaras_marcou9-Mar-06 0:05 
GeneralRe: working with string-newbie Pin
Stephen Hewitt9-Mar-06 0:07
Stephen Hewitt9-Mar-06 0:07 
GeneralRe: working with string-newbie Pin
antonaras_marcou9-Mar-06 0:10
antonaras_marcou9-Mar-06 0:10 
GeneralRe: working with string-newbie Pin
Eytukan9-Mar-06 2:43
Eytukan9-Mar-06 2:43 

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.