Click here to Skip to main content
15,923,168 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: some interview questions Pin
toxcct11-May-06 1:52
toxcct11-May-06 1:52 
GeneralRe: some interview questions Pin
Cedric Moonen11-May-06 1:56
Cedric Moonen11-May-06 1:56 
GeneralRe: some interview questions Pin
toxcct11-May-06 2:03
toxcct11-May-06 2:03 
GeneralRe: some interview questions Pin
Naveen11-May-06 1:57
Naveen11-May-06 1:57 
GeneralRe: some interview questions Pin
toxcct11-May-06 2:03
toxcct11-May-06 2:03 
AnswerRe: some interview questions Pin
Cedric Moonen11-May-06 1:58
Cedric Moonen11-May-06 1:58 
GeneralRe: some interview questions Pin
Naveen11-May-06 1:09
Naveen11-May-06 1:09 
GeneralRe: some interview questions Pin
ThatsAlok11-May-06 5:08
ThatsAlok11-May-06 5:08 
GeneralRe: some interview questions Pin
Naveen11-May-06 17:13
Naveen11-May-06 17:13 
GeneralRe: some interview questions Pin
ThatsAlok11-May-06 19:17
ThatsAlok11-May-06 19:17 
AnswerRe: some interview questions Pin
NiceNaidu11-May-06 3:53
NiceNaidu11-May-06 3:53 
GeneralRe: some interview questions Pin
NiceNaidu11-May-06 4:05
NiceNaidu11-May-06 4:05 
Questionmessage BN_CLICKED for button in flexgrid Pin
zeus_master10-May-06 23:57
zeus_master10-May-06 23:57 
AnswerRe: message BN_CLICKED for button in flexgrid Pin
Cedric Moonen11-May-06 0:00
Cedric Moonen11-May-06 0:00 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 0:07
zeus_master11-May-06 0:07 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
Cedric Moonen11-May-06 0:09
Cedric Moonen11-May-06 0:09 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 0:13
zeus_master11-May-06 0:13 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 18:39
zeus_master11-May-06 18:39 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
Cedric Moonen11-May-06 20:59
Cedric Moonen11-May-06 20:59 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 21:29
zeus_master11-May-06 21:29 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 22:14
zeus_master11-May-06 22:14 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
Cedric Moonen11-May-06 22:19
Cedric Moonen11-May-06 22:19 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 22:51
zeus_master11-May-06 22:51 
wow, your Charting control is a excellent tutorial for me!


yes, SetFocus is ok now.
but every mousemove will spring the code; I wanna know is there any method for judging that the focus have been set to the flexgrid or the sub controls?
if not set yet, then set the focus, or not set.

void CBTGrid::OnMouseMove(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
CMSFlexGrid::OnMouseMove(nFlags, point);
if (...focus is not on flexgrid or it's sub controls....){ SetFocus();
}

}
GeneralRe: message BN_CLICKED for button in flexgrid Pin
Cedric Moonen11-May-06 22:58
Cedric Moonen11-May-06 22:58 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 23:13
zeus_master11-May-06 23:13 

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.