Click here to Skip to main content
16,013,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to dynamically load GdiPlus.dll? Pin
Jun Du16-Jun-06 7:48
Jun Du16-Jun-06 7:48 
GeneralRe: How to dynamically load GdiPlus.dll? Pin
bob1697216-Jun-06 9:11
bob1697216-Jun-06 9:11 
GeneralRe: How to dynamically load GdiPlus.dll? Pin
Jun Du16-Jun-06 12:09
Jun Du16-Jun-06 12:09 
GeneralRe: How to dynamically load GdiPlus.dll? Pin
Cyrus Dang16-Jun-06 13:35
Cyrus Dang16-Jun-06 13:35 
GeneralRe: How to dynamically load GdiPlus.dll? Pin
Jun Du16-Jun-06 15:51
Jun Du16-Jun-06 15:51 
GeneralRe: How to dynamically load GdiPlus.dll? Pin
bob1697216-Jun-06 17:35
bob1697216-Jun-06 17:35 
GeneralRe: How to dynamically load GdiPlus.dll? Pin
James Brown18-Jun-06 22:20
James Brown18-Jun-06 22:20 
Questionenter key Pin
Tara1416-Jun-06 6:51
Tara1416-Jun-06 6:51 
Hi,

I am coding a program in vc++6. I have a wizard with 5 property pages. There is an edit box on each page.

Each time text is entered in the edit box and a button called Add is pressed, the text is listed in a listbox.

I want the text to be entered in the list box when the Enter key is pressed.

I used the PreTranslateMessage to capture the Enter key and after that, I am assiging the tab key to it. But i do not want that to happen.

If i do not assign the tab key, the wizard goes to the next page of the property sheetFrown | :( How do I not let it happen.

BOOL CSelectPayroll_PP2::PreTranslateMessage(MSG* pMsg) 
{
	if (pMsg->message== WM_KEYDOWN && pMsg->wParam==13)
	{
		OnAdd() ;
		
		pMsg->wParam=9;
	}
	return CPropertyPageEx::PreTranslateMessage(pMsg);
	
}



Thanks,
Tara

Fortitudine Vinsinues!
AnswerRe: enter key Pin
Jun Du16-Jun-06 7:56
Jun Du16-Jun-06 7:56 
GeneralRe: enter key Pin
Tara1416-Jun-06 8:58
Tara1416-Jun-06 8:58 
GeneralRe: enter key Pin
Tara1416-Jun-06 9:27
Tara1416-Jun-06 9:27 
QuestionExcluding random choices (std c++) Pin
Peter Charlesworth16-Jun-06 5:01
Peter Charlesworth16-Jun-06 5:01 
AnswerRe: Excluding random choices (std c++) Pin
capricious_00116-Jun-06 5:14
capricious_00116-Jun-06 5:14 
AnswerRe: Excluding random choices (std c++) [modified] Pin
Stephen Hewitt16-Jun-06 5:28
Stephen Hewitt16-Jun-06 5:28 
GeneralRe: Excluding random choices (std c++) Pin
Garth J Lancaster16-Jun-06 16:33
professionalGarth J Lancaster16-Jun-06 16:33 
AnswerRe: Excluding random choices (std c++) Pin
Chris Losinger16-Jun-06 6:35
professionalChris Losinger16-Jun-06 6:35 
Question'HDEVINFO' and 'SP_DEVICE_INTERFACE_DATA' Pin
kitty516-Jun-06 4:49
kitty516-Jun-06 4:49 
AnswerRe: 'HDEVINFO' and 'SP_DEVICE_INTERFACE_DATA' Pin
Viorel.16-Jun-06 4:54
Viorel.16-Jun-06 4:54 
GeneralRe: 'HDEVINFO' and 'SP_DEVICE_INTERFACE_DATA' Pin
kitty516-Jun-06 5:02
kitty516-Jun-06 5:02 
GeneralRe: 'HDEVINFO' and 'SP_DEVICE_INTERFACE_DATA' Pin
Viorel.16-Jun-06 5:13
Viorel.16-Jun-06 5:13 
QuestionRe: 'HDEVINFO' and 'SP_DEVICE_INTERFACE_DATA' Pin
kitty516-Jun-06 5:18
kitty516-Jun-06 5:18 
AnswerRe: 'HDEVINFO' and 'SP_DEVICE_INTERFACE_DATA' Pin
Viorel.16-Jun-06 5:26
Viorel.16-Jun-06 5:26 
GeneralRe: 'HDEVINFO' and 'SP_DEVICE_INTERFACE_DATA' Pin
kitty516-Jun-06 5:48
kitty516-Jun-06 5:48 
GeneralRe: 'HDEVINFO' and 'SP_DEVICE_INTERFACE_DATA' [modified] Pin
Viorel.16-Jun-06 5:56
Viorel.16-Jun-06 5:56 
Questionhow to send unicode text in XlTable Pin
bassel_z16-Jun-06 4:45
bassel_z16-Jun-06 4:45 

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.