regarding statusbar display
-
In my program i'm creating an editor like visualc++.. in this u can display the line no,column no of the editor part in statusbar ..the editor is based on scintilla..below to that editor i'm having an output window exactly like the output window of vc++.. so if i keep the mouse in output window and if i move the cursor it should show that corresponding line nd colmn no.. the output window is a richedit control... i'm having code for detecting line no nd colmn no... but how will detect that the cursor is in mainwindow or output window so that i can display the corresponding lineno,colmn no in the status bar? aqny help..thanx in advance...
-
In my program i'm creating an editor like visualc++.. in this u can display the line no,column no of the editor part in statusbar ..the editor is based on scintilla..below to that editor i'm having an output window exactly like the output window of vc++.. so if i keep the mouse in output window and if i move the cursor it should show that corresponding line nd colmn no.. the output window is a richedit control... i'm having code for detecting line no nd colmn no... but how will detect that the cursor is in mainwindow or output window so that i can display the corresponding lineno,colmn no in the status bar? aqny help..thanx in advance...
Can you use of
WM_MOUSEMOVE
on the output window then you can use of CPoint for get x and y position of mouse and then set status bar.
WhiteSky
-
In my program i'm creating an editor like visualc++.. in this u can display the line no,column no of the editor part in statusbar ..the editor is based on scintilla..below to that editor i'm having an output window exactly like the output window of vc++.. so if i keep the mouse in output window and if i move the cursor it should show that corresponding line nd colmn no.. the output window is a richedit control... i'm having code for detecting line no nd colmn no... but how will detect that the cursor is in mainwindow or output window so that i can display the corresponding lineno,colmn no in the status bar? aqny help..thanx in advance...