Click here to Skip to main content
15,892,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 23:43
zeus_master11-May-06 23:43 
QuestionCreate a child window Pin
v3r50r10-May-06 23:34
v3r50r10-May-06 23:34 
AnswerRe: Create a child window Pin
Russell'10-May-06 23:57
Russell'10-May-06 23:57 
GeneralRe: Create a child window Pin
v3r50r11-May-06 0:01
v3r50r11-May-06 0:01 
GeneralRe: Create a child window Pin
Cedric Moonen11-May-06 0:05
Cedric Moonen11-May-06 0:05 
GeneralRe: Create a child window Pin
v3r50r11-May-06 0:13
v3r50r11-May-06 0:13 
GeneralRe: Create a child window Pin
Cedric Moonen11-May-06 0:56
Cedric Moonen11-May-06 0:56 
GeneralRe: Create a child window Pin
Russell'11-May-06 0:05
Russell'11-May-06 0:05 
GeneralRe: Create a child window Pin
v3r50r11-May-06 0:07
v3r50r11-May-06 0:07 
GeneralRe: Create a child window Pin
Russell'11-May-06 0:17
Russell'11-May-06 0:17 
Questioncharset for the current language OS. Pin
Sandeep. Vaidya10-May-06 23:33
Sandeep. Vaidya10-May-06 23:33 
QuestionSerial Port interrupt Pin
aasstt10-May-06 22:55
aasstt10-May-06 22:55 
AnswerRe: Serial Port interrupt Pin
Cedric Moonen10-May-06 23:02
Cedric Moonen10-May-06 23:02 
GeneralRe: Serial Port interrupt Pin
Maxwell Chen10-May-06 23:34
Maxwell Chen10-May-06 23:34 
AnswerRe: Serial Port interrupt Pin
kakan11-May-06 0:37
professionalkakan11-May-06 0:37 

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.