Click here to Skip to main content
15,918,516 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ifstream not found in <iostream> Pin
king_of_the_world20-Dec-02 2:36
king_of_the_world20-Dec-02 2:36 
GeneralRe: ifstream not found in <iostream> Pin
Rage20-Dec-02 2:54
professionalRage20-Dec-02 2:54 
GeneralRe: ifstream not found in <iostream> Pin
king_of_the_world20-Dec-02 3:01
king_of_the_world20-Dec-02 3:01 
GeneralRe: ifstream not found in <iostream> Pin
Tim Smith20-Dec-02 3:42
Tim Smith20-Dec-02 3:42 
GeneralRe: ifstream not found in <iostream> Pin
Jeff J20-Dec-02 10:28
Jeff J20-Dec-02 10:28 
GeneralLock an Object of CWnd (MFC) Pin
Alex H 198320-Dec-02 1:30
Alex H 198320-Dec-02 1:30 
GeneralRe: Lock an Object of CWnd (MFC) Pin
Joaquín M López Muñoz20-Dec-02 3:37
Joaquín M López Muñoz20-Dec-02 3:37 
Generaldialog app Pin
Raphael Kindt20-Dec-02 1:05
Raphael Kindt20-Dec-02 1:05 
Hi
I open a simple modal dialog box... (from a menu)
And I want to do this:
When the mouse cursor move above a simple component (CEdit, CCheckBox, CComboBox, etc.), I want to display some information about this component fonctionnality (CEdit, etc.) in CEdit with the read-only flag...
The WM_MOUSEMOVE message is sent to the dialog box. Here is the code I use:
void CControlDlg::OnMouseMove(UINT nFlags, CPoint point) 
{
	CWnd* ThisWnd = ChildWindowFromPoint(point);
	int ThisID = ThisWnd->GetDlgCtrlID();

	switch(ThisID) {
	case IDC_TPG_V_H:
		m_strInfoControl = "Test Pattern Generator for incremental test";
		break;
	//
	// + some other case for different component information
	//
	default:
		m_strInfoControl = "default";
	}
	UpdateData(FALSE);
	CDialog::OnMouseMove(nFlags, point);
}

The m_strInfoControl is the information display into an Edit box read-only component...
The problem is that the dialog box loses the control of the mouse when the mouse cursor is above a component...

Thanks in advance...

Hello World!!! Smile | :)
from Raphaël
GeneralRe: dialog app Pin
Rage20-Dec-02 1:26
professionalRage20-Dec-02 1:26 
GeneralRe: dialog app Pin
Raphael Kindt20-Dec-02 1:36
Raphael Kindt20-Dec-02 1:36 
GeneralRe: dialog app Pin
Rage20-Dec-02 2:18
professionalRage20-Dec-02 2:18 
GeneralRe: dialog app Pin
Raphael Kindt20-Dec-02 2:30
Raphael Kindt20-Dec-02 2:30 
GeneralGet info from DLL Pin
3EN20-Dec-02 1:01
suss3EN20-Dec-02 1:01 
GeneralRe: Get info from DLL Pin
Rage20-Dec-02 1:29
professionalRage20-Dec-02 1:29 
GeneralRe: Get info from DLL Pin
jmkhael20-Dec-02 3:41
jmkhael20-Dec-02 3:41 
GeneralMDI ChildFrame positioning and Toolbars Pin
Dov Sherman20-Dec-02 0:59
Dov Sherman20-Dec-02 0:59 
GeneralRe: MDI ChildFrame positioning and Toolbars Pin
Pavel Klocek20-Dec-02 2:42
Pavel Klocek20-Dec-02 2:42 
GeneralUnicode Debug Pin
Suren20-Dec-02 0:35
Suren20-Dec-02 0:35 
GeneralRe: Unicode Debug Pin
Rage20-Dec-02 1:02
professionalRage20-Dec-02 1:02 
GeneralRe: Unicode Debug Pin
Suren20-Dec-02 1:50
Suren20-Dec-02 1:50 
GeneralRe: Unicode Debug Pin
Rage20-Dec-02 3:17
professionalRage20-Dec-02 3:17 
GeneralRe: Unicode Debug Pin
Andreas Saurwein20-Dec-02 2:18
Andreas Saurwein20-Dec-02 2:18 
Generaldialog box problems Pin
r i s h a b h s19-Dec-02 23:18
r i s h a b h s19-Dec-02 23:18 
GeneralRe: dialog box problems Pin
Rage20-Dec-02 0:02
professionalRage20-Dec-02 0:02 
GeneralRe: dialog box problems Pin
Fredrik Skog20-Dec-02 0:06
Fredrik Skog20-Dec-02 0:06 

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.