Click here to Skip to main content
15,903,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to change a item's parent of a tree control? Pin
Derek Lakin27-Sep-01 22:11
Derek Lakin27-Sep-01 22:11 
GeneralContol Bars Pin
27-Sep-01 3:43
suss27-Sep-01 3:43 
QuestionWhat the hell...? Pin
27-Sep-01 3:30
suss27-Sep-01 3:30 
AnswerRe: What the hell...? Pin
Rashid Thadha27-Sep-01 3:37
Rashid Thadha27-Sep-01 3:37 
GeneralThanks!!! Pin
27-Sep-01 3:46
suss27-Sep-01 3:46 
AnswerRe: What the hell...? Pin
Aaron Schaefer27-Sep-01 3:46
Aaron Schaefer27-Sep-01 3:46 
GeneralHot Keys Of Menu In A Dialog Box Pin
Ahmad9927-Sep-01 2:48
Ahmad9927-Sep-01 2:48 
GeneralRe: Hot Keys Of Menu In A Dialog Box Pin
Tomasz Sowinski27-Sep-01 2:54
Tomasz Sowinski27-Sep-01 2:54 
You'll have to override PreTranslateMessage in CYourDlg. Inside the function, call ::TranslateAccelerator.

BOOL CYourDlg::PreTranslateMessage(MSG* pMsg) 
{
	if (::TranslateAccelerator(m_hWnd, m_hAccelTable, pMsg))
	{
		return TRUE;
	}
	
	return CDialog::PreTranslateMessage(pMsg);
}


Init m_hAccelTable in OnInitDialog - call LoadAccelerators.

Tomasz Sowinski -- http://www.shooltz.com
GeneralRe: Hot Keys Of Menu In A Dialog Box Pin
Ahmad9927-Sep-01 3:29
Ahmad9927-Sep-01 3:29 
GeneralRe: Hot Keys Of Menu In A Dialog Box Pin
Ahmad9927-Sep-01 3:29
Ahmad9927-Sep-01 3:29 
GeneralThanks Pin
Ahmad9927-Sep-01 4:27
Ahmad9927-Sep-01 4:27 
GeneralContent of Stl-Container in Debug-Mode Pin
Olivier Heidemann27-Sep-01 2:35
Olivier Heidemann27-Sep-01 2:35 
QuestionVideo Capture Resolution Change? Pin
jwrich0127-Sep-01 2:29
jwrich0127-Sep-01 2:29 
Generalbitmap from imglist Pin
Noman Nadeem27-Sep-01 1:39
Noman Nadeem27-Sep-01 1:39 
GeneralRe: bitmap from imglist Pin
Tomasz Sowinski27-Sep-01 2:06
Tomasz Sowinski27-Sep-01 2:06 
Generalclass wizard is disabled Pin
27-Sep-01 1:36
suss27-Sep-01 1:36 
GeneralRe: class wizard is disabled Pin
27-Sep-01 3:18
suss27-Sep-01 3:18 
Questionhow to pass USER_LOGON variable to ActiveX developed in VC++? Pin
Bartek27-Sep-01 0:29
Bartek27-Sep-01 0:29 
AnswerRe: how to pass USER_LOGON variable to ActiveX developed in VC++? Pin
Ricardo Beja28-Sep-01 6:31
Ricardo Beja28-Sep-01 6:31 
GeneralVC++ AddIn - How does one open a window Pin
Franz Klein26-Sep-01 23:56
Franz Klein26-Sep-01 23:56 
GeneralPrevent CTreeCtrl from being auto collapsed Pin
Alex Dong26-Sep-01 23:45
Alex Dong26-Sep-01 23:45 
GeneralRe: Prevent CTreeCtrl from being auto collapsed Pin
27-Sep-01 0:35
suss27-Sep-01 0:35 
GeneralRe: Prevent CTreeCtrl from being auto collapsed Pin
27-Sep-01 15:12
suss27-Sep-01 15:12 
Generalstructuring in MFC Pin
JoNy26-Sep-01 23:03
JoNy26-Sep-01 23:03 
GeneralRe: structuring in MFC Pin
Tomasz Sowinski27-Sep-01 0:26
Tomasz Sowinski27-Sep-01 0:26 

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.