?Mouse position
-
Provide a handler for the
WM_MOUSEMOVE
message. The position is in theLPARAM
parameter.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-
Provide a handler for the
WM_MOUSEMOVE
message. The position is in theLPARAM
parameter.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-
Halawlaws wrote: at last u came david thx if you had asked this better from the beginning, you would certainly get the correct answer earlier...
void CDlgStatusBarDlg::OnMouseMove(UINT nFlags, CPoint point) {
CString s;
s.Format("X=%d Y=%d",point.x,point.y);
m_bar.SetPaneText(0,s);
CDialog::OnMouseMove(nFlags, point);
}
TOXCCT >>> GEII power
[toxcct][VisualCalc] -
Halawlaws wrote: at last u came david thx if you had asked this better from the beginning, you would certainly get the correct answer earlier...
void CDlgStatusBarDlg::OnMouseMove(UINT nFlags, CPoint point) {
CString s;
s.Format("X=%d Y=%d",point.x,point.y);
m_bar.SetPaneText(0,s);
CDialog::OnMouseMove(nFlags, point);
}
TOXCCT >>> GEII power
[toxcct][VisualCalc]toxcct wrote: if you had asked this better from the beginning, you would certainly get the correct answer earlier... The same question was asked here. No one responded.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb