Click here to Skip to main content
15,903,630 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
CPallini4-May-14 23:09
mveCPallini4-May-14 23:09 
GeneralRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
leon de boer5-May-14 2:29
leon de boer5-May-14 2:29 
QuestionTo fix the first column of CListView grid type control in MFC Pin
sma123#2-May-14 7:35
sma123#2-May-14 7:35 
QuestionRe: To fix the first column of CListView grid type control in MFC Pin
David Crow5-May-14 7:04
David Crow5-May-14 7:04 
AnswerRe: To fix the first column of CListView grid type control in MFC Pin
sma123#6-May-14 1:42
sma123#6-May-14 1:42 
SuggestionRe: To fix the first column of CListView grid type control in MFC Pin
David Crow6-May-14 5:08
David Crow6-May-14 5:08 
AnswerRe: To fix the first column of CListView grid type control in MFC Pin
Richard MacCutchan5-May-14 20:23
mveRichard MacCutchan5-May-14 20:23 
QuestionHow to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 2:36
Vladislav Gospodinov2-May-14 2:36 
Hello...This question may sound silly to some of you but I've been stuck on it for few days and can't find any answer... So I need to have the mouse position x and y displayed in the status bar.

So far I add new string to the table, in the indicators array,
afx_msg void OnUpdateCurPos(CCmdUI *pCmdUI) in the message map and ON_UPDATE_COMMAND_UI(ID_INDICATOR_CURSOR,OnUpdateCurPos)
When I run it's there but can't find the right way to update the cords. I think it must work with ON_MOUSEMOVE func...I've tried several codes in ON_MOUSEMOVE and OnUpdateCurPos but it doesn't work at all...
Working with SDI.
QuestionRe: How to get cursor position in status bar? Pin
David Crow2-May-14 2:50
David Crow2-May-14 2:50 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 3:24
Vladislav Gospodinov2-May-14 3:24 
QuestionRe: How to get cursor position in status bar? Pin
jeron12-May-14 4:20
jeron12-May-14 4:20 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 5:08
Vladislav Gospodinov2-May-14 5:08 
QuestionRe: How to get cursor position in status bar? Pin
jeron12-May-14 5:15
jeron12-May-14 5:15 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 5:21
Vladislav Gospodinov2-May-14 5:21 
GeneralRe: How to get cursor position in status bar? Pin
jeron12-May-14 5:43
jeron12-May-14 5:43 
QuestionRe: How to get cursor position in status bar? Pin
David Crow2-May-14 5:46
David Crow2-May-14 5:46 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 5:59
Vladislav Gospodinov2-May-14 5:59 
AnswerRe: How to get cursor position in status bar? Pin
David Crow2-May-14 7:26
David Crow2-May-14 7:26 
GeneralRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov3-May-14 7:30
Vladislav Gospodinov3-May-14 7:30 
AnswerRe: It is with CDialog::OnMouseMove(nFlags, point) Pin
Software_Developer2-May-14 7:16
Software_Developer2-May-14 7:16 
QuestionEmbedded C Pin
C-P-User-31-May-14 17:10
C-P-User-31-May-14 17:10 
AnswerRe: Embedded C Pin
Richard Andrew x641-May-14 20:14
professionalRichard Andrew x641-May-14 20:14 
GeneralRe: Embedded C Pin
C-P-User-32-May-14 1:27
C-P-User-32-May-14 1:27 
GeneralRe: Embedded C Pin
C-P-User-32-May-14 1:40
C-P-User-32-May-14 1:40 
GeneralRe: Embedded C Pin
C-P-User-32-May-14 1:44
C-P-User-32-May-14 1:44 

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.