Click here to Skip to main content
15,915,693 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _RecordSetPtr is not accessible Pin
Stuart Dootson21-May-09 10:21
professionalStuart Dootson21-May-09 10:21 
GeneralRe: _RecordSetPtr is not accessible Pin
led mike21-May-09 12:06
led mike21-May-09 12:06 
GeneralRe: _RecordSetPtr is not accessible Pin
pandit8421-May-09 20:37
pandit8421-May-09 20:37 
QuestionHow to get size in memory of STL <map> for use with memcpy ? Pin
Mike the Red21-May-09 4:22
Mike the Red21-May-09 4:22 
AnswerRe: How to get size in memory of STL <map> for use with memcpy ? Pin
CPallini21-May-09 4:39
mveCPallini21-May-09 4:39 
AnswerRe: How to get size in memory of STL <map> for use with memcpy ? Pin
Stuart Dootson21-May-09 4:39
professionalStuart Dootson21-May-09 4:39 
JokeThanks for the quick replies Pallini, Stuart... looks like I've got more work to do... -nt- Pin
Mike the Red21-May-09 5:07
Mike the Red21-May-09 5:07 
GeneralRe: Thanks for the quick replies Pallini, Stuart... looks like I've got more work to do... -nt- Pin
ThatsAlok21-May-09 18:27
ThatsAlok21-May-09 18:27 
Questionineed a source code before this friday Pin
senam200621-May-09 2:55
senam200621-May-09 2:55 
AnswerRe: ineed a source code before this friday Pin
Maximilien21-May-09 3:16
Maximilien21-May-09 3:16 
GeneralRe: ineed a source code before this friday Pin
senam200621-May-09 3:20
senam200621-May-09 3:20 
GeneralRe: ineed a source code before this friday Pin
Maximilien21-May-09 4:01
Maximilien21-May-09 4:01 
QuestionRe: ineed a source code before this friday Pin
David Crow21-May-09 3:22
David Crow21-May-09 3:22 
JokeRe: ineed a source code before this friday Pin
CPallini21-May-09 3:36
mveCPallini21-May-09 3:36 
JokeRe: ineed a source code before this friday Pin
Rajesh R Subramanian21-May-09 3:39
professionalRajesh R Subramanian21-May-09 3:39 
AnswerRe: ineed a source code before this friday Pin
led mike21-May-09 4:43
led mike21-May-09 4:43 
AnswerRe: ineed a source code before this friday Pin
jeron121-May-09 4:21
jeron121-May-09 4:21 
GeneralRe: ineed a source code before this friday Pin
molesworth21-May-09 4:31
molesworth21-May-09 4:31 
GeneralRe: ineed a source code before this friday Pin
jeron121-May-09 4:50
jeron121-May-09 4:50 
GeneralRe: ineed a source code before this friday Pin
CPallini21-May-09 7:04
mveCPallini21-May-09 7:04 
GeneralRe: ineed a source code before this friday Pin
bulg21-May-09 11:41
bulg21-May-09 11:41 
AnswerRe: ineed a source code before this friday Pin
Stuart Dootson21-May-09 4:37
professionalStuart Dootson21-May-09 4:37 
Question880231 - overriding keyboard behaviour Pin
ilostmyid221-May-09 1:11
professionalilostmyid221-May-09 1:11 
hi as we know, in a dialog box Tab and Shift+Tab change focus between ctrls, Tab to the next one and Shift+Tab to the previous one. when handling the keyboard event generated, we see that both generates the same event with the same wParam (0x09) and lParam (0x000d0001).
so how a dialog figures out which one is hit? apparently by using the function GetKeyState at the moment of handling the message. alright?
now, in a system with no tab key i want to use Up and Down keys in the place of them. at this moment the problem gets produced.
in the PreTranslateMessage of my application, i just change wParam from VK_DOWN into VK_TAB. the PreTranslateMessage of the base class (CWinApp) thinks Tab is hit instead of Down arrow. this is the behavior i intend and it's ok. but what can i do when the user hits Up arrow and expect the previous ctrl gets focused?
do i need to use SetKeyboardState and this is the only way to simulate hitting Shift key?
what can i do?
thx
AnswerRe: 880231 - overriding keyboard behaviour Pin
jeron121-May-09 5:18
jeron121-May-09 5:18 
AnswerRe: 880231 - overriding keyboard behaviour Pin
Stuart Dootson21-May-09 5:36
professionalStuart Dootson21-May-09 5:36 

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.