button question
how do i make this pushbuttton do something?
example:
1 2 3 4 5 6 7
|
hEdit =CreateWindow(TEXT("button"), TEXT("Save/Open DB"),
WS_VISIBLE | WS_CHILD ,
240, 260, 110, 25,
hWnd, (HMENU) 1, NULL, NULL);
if ("button"=="PRESSED")//not legit command
MessageBox(NULL, "test", NULL, NULL);
|
Vague question D:<
Also, shouldn't this be under Window's Programming Section?
Last edited on
Topic archived. No new replies allowed.