Click here to Skip to main content
15,849,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ineed a source code before this friday Pin
CPallini21-May-09 8:04
mveCPallini21-May-09 8:04 
GeneralRe: ineed a source code before this friday Pin
bulg21-May-09 12:41
bulg21-May-09 12:41 
AnswerRe: ineed a source code before this friday Pin
Stuart Dootson21-May-09 5:37
professionalStuart Dootson21-May-09 5:37 
Question880231 - overriding keyboard behaviour Pin
ilostmyid221-May-09 2:11
professionalilostmyid221-May-09 2:11 
AnswerRe: 880231 - overriding keyboard behaviour Pin
jeron121-May-09 6:18
jeron121-May-09 6:18 
AnswerRe: 880231 - overriding keyboard behaviour Pin
Stuart Dootson21-May-09 6:36
professionalStuart Dootson21-May-09 6:36 
GeneralRe: 880231 - overriding keyboard behaviour Pin
ilostmyid224-May-09 2:04
professionalilostmyid224-May-09 2:04 
GeneralRe: 880231 - overriding keyboard behaviour Pin
ilostmyid224-May-09 2:23
professionalilostmyid224-May-09 2:23 
please notice the following code i put in the application's PreTranslateMessage:
...<br />
case VK_DOWN:<br />
	pMsg->wParam=VK_TAB;<br />
	BYTE byKeybState[256];<br />
	GetKeyboardState(byKeybState);         <br />
	byKeybState[VK_SHIFT] = !(BOOL)GetKeyState(VK_SHIFT);  // or TRUE<br />
	SetKeyboardState(byKeybState);<br />
	break;<br />
...<br />

it must work. right?
but in CE it seems that GetKeyboardState and SetKeyboardState functions r not available. what can i do?
GeneralRe: 880231 - overriding keyboard behaviour Pin
Stuart Dootson24-May-09 2:46
professionalStuart Dootson24-May-09 2:46 
GeneralRe: 880231 - overriding keyboard behaviour Pin
ilostmyid224-May-09 4:17
professionalilostmyid224-May-09 4:17 
GeneralRe: 880231 - overriding keyboard behaviour Pin
ilostmyid224-May-09 6:56
professionalilostmyid224-May-09 6:56 
QuestionHow to Create and format partitions Pin
Madan Chauhan21-May-09 0:45
Madan Chauhan21-May-09 0:45 
AnswerRe: How to Create and format partitions Pin
C++myLife21-May-09 1:52
C++myLife21-May-09 1:52 
GeneralRe: How to Create and format partitions Pin
Madan Chauhan21-May-09 2:11
Madan Chauhan21-May-09 2:11 
GeneralRe: How to Create and format partitions Pin
C++myLife21-May-09 2:49
C++myLife21-May-09 2:49 
GeneralRe: How to Create and format partitions Pin
Madan Chauhan21-May-09 23:17
Madan Chauhan21-May-09 23:17 
AnswerRe: How to Create and format partitions Pin
Hamid_RT21-May-09 3:26
Hamid_RT21-May-09 3:26 
GeneralRe: How to Create and format partitions Pin
Stephen Hewitt21-May-09 5:00
Stephen Hewitt21-May-09 5:00 
GeneralRe: How to Create and format partitions Pin
C++myLife21-May-09 21:44
C++myLife21-May-09 21:44 
GeneralRe: How to Create and format partitions Pin
Madan Chauhan21-May-09 23:22
Madan Chauhan21-May-09 23:22 
QuestionCreate CBitmap from array of RGB values Pin
sashoalm21-May-09 0:00
sashoalm21-May-09 0:00 
AnswerRe: Create CBitmap from array of RGB values Pin
Russell'21-May-09 0:52
Russell'21-May-09 0:52 
GeneralRe: Create CBitmap from array of RGB values Pin
sashoalm21-May-09 6:04
sashoalm21-May-09 6:04 
GeneralRe: Create CBitmap from array of RGB values Pin
Stuart Dootson21-May-09 6:45
professionalStuart Dootson21-May-09 6:45 
QuestionChange mouse pointer... Pin
m_mun20-May-09 23:55
m_mun20-May-09 23:55 

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.