Page 1 of 1

Track A EDIT BOX Text In C

Posted: Sun Dec 24, 2006 12:43 pm
by neel_basu
Hello Its Not Related To PHP I Need Some help In C
I am Trying to Create Windows Programs With C
Would Anyone lease Tell Me How To Get The Text In a edit box ??
And This Is The Edit Box

Code: Select all

.............................................................
hwndEdit = CreateWindowEx(WS_EX_CLIENTEDGE,
      "EDIT",
      "",
      WS_BORDER|WS_VISIBLE|WS_CHILD|ES_MULTILINE|ES_AUTOVSCROLL|WS_VSCROLL,
      0,0,370,200,
      hwndMain,
      NULL,
      hInst,
      NULL);
...................................................
I Wanna Track The Text In The Edit Box When Someone Clicks On A Button

Code: Select all

..................................................................
	case WM_LBUTTONDOWN:
		m_edit_val = hwndEdit.dwStyle;
		MessageBox(0,"Text On The Edit box Would Be Here","Title",MB_OK);
		break;
........................................................
So How Can I Do It ??

Posted: Mon Dec 25, 2006 12:46 pm
by volka

Posted: Fri Dec 29, 2006 8:01 am
by neel_basu
OK Thanks I Fix It