Click here to Skip to main content
15,926,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: mouse position in treeview Pin
Naveen14-Jun-06 17:29
Naveen14-Jun-06 17:29 
GeneralRe: mouse position in treeview Pin
Nibu babu thomas14-Jun-06 17:54
Nibu babu thomas14-Jun-06 17:54 
GeneralRe: mouse position in treeview Pin
Naveen14-Jun-06 18:02
Naveen14-Jun-06 18:02 
GeneralRe: mouse position in treeview Pin
Nibu babu thomas14-Jun-06 18:07
Nibu babu thomas14-Jun-06 18:07 
GeneralRe: mouse position in treeview Pin
zeus_master14-Jun-06 17:56
zeus_master14-Jun-06 17:56 
GeneralRe: mouse position in treeview Pin
Naveen14-Jun-06 18:12
Naveen14-Jun-06 18:12 
QuestionRe: mouse position in treeview [modified] Pin
zeus_master14-Jun-06 20:36
zeus_master14-Jun-06 20:36 
AnswerRe: mouse position in treeview Pin
Naveen14-Jun-06 22:15
Naveen14-Jun-06 22:15 
zeus_master wrote:
1>but the focus still at stay at child1,


in that case u should explicitly set the focus to child2.

The HitTest() function will help u in this
1. Take the mouse point
2. Call HitTest funtion with that point( this will retun the handle to the item below that point )
3. Call SetItemState() for this item
4. Now the underling item will be selected. after this u show the popup menu...Smile | :)



zeus_master wrote:
2>and the new child note will be not visible/enable at once,


did u tried EnsureVisible() funtion?

nave
QuestionRe: mouse position in treeview Pin
zeus_master15-Jun-06 0:05
zeus_master15-Jun-06 0:05 
AnswerRe: mouse position in treeview Pin
Naveen15-Jun-06 1:14
Naveen15-Jun-06 1:14 
GeneralRe: mouse position in treeview Pin
zeus_master15-Jun-06 16:52
zeus_master15-Jun-06 16:52 
QuestionCTabCtrl in MDI splitter won't compile Pin
Vaclav14-Jun-06 15:52
Vaclav14-Jun-06 15:52 
AnswerRe: CTabCtrl in MDI splitter won't compile Pin
Vaclav14-Jun-06 16:58
Vaclav14-Jun-06 16:58 
GeneralRe: CTabCtrl in MDI splitter won't compile Pin
Ryan Binns14-Jun-06 18:53
Ryan Binns14-Jun-06 18:53 
QuestionMenu items missing in shell context menu... Pin
nm_11414-Jun-06 15:13
nm_11414-Jun-06 15:13 
QuestionMFC Publications Pin
sidkraft14-Jun-06 14:13
sidkraft14-Jun-06 14:13 
AnswerRe: MFC Publications Pin
Vaclav14-Jun-06 16:12
Vaclav14-Jun-06 16:12 
Questionusing mci Pin
locoone14-Jun-06 13:28
locoone14-Jun-06 13:28 
AnswerRe: using mci Pin
Hamid_RT14-Jun-06 19:21
Hamid_RT14-Jun-06 19:21 
GeneralRe: using mci [modified] Pin
locoone15-Jun-06 12:10
locoone15-Jun-06 12:10 
GeneralRe: using mci Pin
Hamid_RT15-Jun-06 20:09
Hamid_RT15-Jun-06 20:09 
GeneralRe: using mci [modified] Pin
locoone16-Jun-06 11:50
locoone16-Jun-06 11:50 
GeneralRe: using mci Pin
Hamid_RT16-Jun-06 19:10
Hamid_RT16-Jun-06 19:10 
GeneralRe: using mci Pin
locoone16-Jun-06 23:19
locoone16-Jun-06 23:19 
QuestionSetupDiEnumDeviceInterfaces() Pin
kitty514-Jun-06 11:04
kitty514-Jun-06 11:04 

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.