Click here to Skip to main content
15,921,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Share Error Pin
John M. Drescher4-Jul-03 3:02
John M. Drescher4-Jul-03 3:02 
QuestionIs there a way to get the screen coordinate of an IHTMLElement? Pin
touchzen3-Jul-03 13:23
touchzen3-Jul-03 13:23 
GeneralFocus rect Pin
Xakep3-Jul-03 12:01
Xakep3-Jul-03 12:01 
QuestionMainframe without a toolbar? Pin
clintsinger3-Jul-03 11:23
clintsinger3-Jul-03 11:23 
AnswerRe: Mainframe without a toolbar? Pin
Neville Franks3-Jul-03 12:23
Neville Franks3-Jul-03 12:23 
AnswerRe: Mainframe without a toolbar? Pin
Ryan Binns3-Jul-03 15:21
Ryan Binns3-Jul-03 15:21 
AnswerRe: Mainframe without a toolbar? Pin
Michael Dunn3-Jul-03 15:22
sitebuilderMichael Dunn3-Jul-03 15:22 
GeneralKeybord input Pin
Zedd3-Jul-03 11:00
Zedd3-Jul-03 11:00 
I' have a little problem with keyboard input. For control input (shift, crtl, arrow,...) Virtual keys are defined and is use them in th OnKeyPressed function (like you see in de code).
If i press the shift button, is see the right messageBox, if i press the up arrow nothing happens. But if i hold the up-arrow down, and press another key i get a messagebox saying "up key pressed", so the problem is not that the virtual key is wrong, but that no KeyPressed event is fired when the up arrow is pressed. Why? And even more important, what to do about it?

Here's the code

void CKeyboardDlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) 
{
	if(::GetKeyState(VK_SHIFT) <0)
		MessageBox("Shift pressed");
	if(::GetKeyState(VK_UP)<0)
		MessageBox("up arrow pressed");
	...
}

GeneralRe: Keybord input Pin
Neville Franks3-Jul-03 12:29
Neville Franks3-Jul-03 12:29 
GeneralRe: Keybord input Pin
Ryan Binns3-Jul-03 15:25
Ryan Binns3-Jul-03 15:25 
GeneralKeydown from CView to CFrameWnd Pin
clintsinger3-Jul-03 10:59
clintsinger3-Jul-03 10:59 
GeneralRe: Keydown from CView to CFrameWnd Pin
John M. Drescher4-Jul-03 8:46
John M. Drescher4-Jul-03 8:46 
Generalmemory leak! Pin
MemLeak3-Jul-03 10:27
MemLeak3-Jul-03 10:27 
GeneralRe: memory leak! Pin
John M. Drescher3-Jul-03 10:31
John M. Drescher3-Jul-03 10:31 
GeneralEnabling buttons Pin
Zak_3-Jul-03 10:15
Zak_3-Jul-03 10:15 
GeneralRe: Enabling buttons Pin
valikac3-Jul-03 10:26
valikac3-Jul-03 10:26 
GeneralRe: Enabling buttons Pin
Zedd3-Jul-03 11:18
Zedd3-Jul-03 11:18 
GeneralGetting the output of 'rsh'command from Unix back to application in windows Pin
JaisonCodeMan3-Jul-03 10:07
JaisonCodeMan3-Jul-03 10:07 
QuestionCan I query Delphi GUI APP controls from inside C++ DLL? Pin
ajkirkle3-Jul-03 9:40
ajkirkle3-Jul-03 9:40 
GeneralHelp...msvcrtd.obj missing Pin
DaveE9th3-Jul-03 7:56
DaveE9th3-Jul-03 7:56 
GeneralRe: Help...msvcrtd.obj missing Pin
John M. Drescher3-Jul-03 8:05
John M. Drescher3-Jul-03 8:05 
GeneralRe: Help...msvcrtd.obj missing Pin
DaveE9th3-Jul-03 8:25
DaveE9th3-Jul-03 8:25 
GeneralRe: Help...msvcrtd.obj missing Pin
John M. Drescher3-Jul-03 8:50
John M. Drescher3-Jul-03 8:50 
GeneralRe: Help...msvcrtd.obj missing Pin
DaveE9th3-Jul-03 11:27
DaveE9th3-Jul-03 11:27 
GeneralRe: Help...msvcrtd.obj missing Pin
John M. Drescher3-Jul-03 11:38
John M. Drescher3-Jul-03 11:38 

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.