I know there are two ways to create a control:
1. using resource:2. creating the window yourself:Code:
EDITTEXT IDD_CONTROL, 10, 50, 80, 14, ES_AUTOHSCROLL
As you may noticed, the location and size is the same: 10, 50, 80, 14.Code:
CreateWindowEx(NULL, "Edit", "", WS_CHILD | WS_VISIBLE,
10, 50, 80, 14, hDlg, (HMENU)IDD_CONTROL,
The problem is the way the CreateWindowEx() fucntion sees the value, which is different than the way the resource sees it.
Is there any way I could match them?