Click here to Skip to main content
15,901,426 members

Comments by Suryakant Turing (Top 27 by date)

Suryakant Turing 11-Apr-16 13:47pm View    
Deleted
Jochen is there any other way except this- main entry point, service entry point, and service control handler, if possible.
Suryakant Turing 11-Apr-16 13:18pm View    
Jochen is there any other way except this- main entry point, service entry point, and service control handler if possible.
Suryakant Turing 11-Apr-16 13:14pm View    
I do not know what is it. I want to create service of my .exe file without ->main entry point, service entry point, and service control handler. If possible.
Suryakant Turing 10-Apr-16 11:30am View    
Yes man I want the same thing as u said, the list view. Can I use this in my code (on my window to display )through the link, so that I can copy from the list too.
Suryakant Turing 9-Apr-16 11:28am View    
The code for creating a Edit control is here.

case WM_CREATE:

hWndEdit=CreateWindow(_T("EDIT"), // We are creating an Edit control
NULL,
WS_CHILD | WS_VISIBLE | WS_HSCROLL |
WS_VSCROLL | ES_LEFT | ES_MULTILINE |
ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_MULTILINE|ES_USER_PRESENT,
0, 0, 0, 0, // Let the WM_SIZE messge below take care of the size
hwnd,
0,
hInst,
NULL);

then to display on window I used

case WM_PAINT:
case WM_PAINT:
PAINTSTRUCT ps;
SendMessage(hwnd, WM_SETTEXT, 100, (LPARAM) e1[m].lpstring1);
TextOut (hDC,
10,
10,
// Text to print
(LPSTR)"hello coders",
10);
EndPaint (hwnd, &ps);

I think it is enough to answer.
I think there should be something change in the third argument in the create Window. Is it?