Click here to Skip to main content
16,004,778 members

Comments by Mayur S7789 (Top 6 by date)

Mayur S7789 6-Dec-13 23:34pm View    
If suppose an application window has two Edit control, then how to get handle of the second Edit control. I am able to get the Handle of first, but wondering how to get the next ?. Also i want to Simulate TAB key press, i.e after Edit control gets the text, then TAB key press should be done so it goes to next edit control. Please help and guide me through it. Thanks in advance.
Mayur S7789 28-Oct-13 7:47am View    
Thanks Mate..It worked... :)
Mayur S7789 28-Oct-13 6:16am View    
What do you mean by "switch out your array class"
Mayur S7789 28-Oct-13 6:08am View    
Its called inside the CStaticEx class
CStaticEx::CStaticEx(CRect cRect, CWnd* parent)
{
CStatic::Create(_T("STATIC"), WS_CHILD | WS_VISIBLE, cRect, parent );
m_pFrameImg = NULL;
m_pCamera = NULL;
}
Mayur S7789 28-Oct-13 5:58am View    
Here's the code what i did first. And what i want basically for your better understanding.

CRect rect(10, 10, 300, 300);
m_pStatiEx = new CStaticEx(rect, this);
m_pStatiEx->InitCamDisp(0);
m_pStatiEx->ShowWindow(SW_SHOW);

CRect rect2(320, 10, 620, 300);
m_pStatiEx1 = new CStaticEx(rect2, this);
m_pStatiEx1->InitCamDisp(1);
m_pStatiEx1->ShowWindow(SW_SHOW);

This is the piece of code which i want to implement in for loop according the number of cameras. So want to make the array of object for each camera. Hope now i made you clear with your doubt of what i want to do.