TrevDog's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 4 (0.01 per day)
- Joined:
- 24-February 12
- Profile Views:
- 31
- Last Active:
Jul 31 2012 09:11 PM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: [expected primary-expression before ')' token] Can't find
Posted 24 Feb 2012
Sorry for the formatting errors, but thanks for the help correcting that.
So what I'm doing is trying to add multiple buttons to a window. I have one, and this is a second set of code below the first button. I've looked between the two, and it's the same. The only thing I can think of is maybe I've placed the brackets incorrectly. Here's the full code:
{ case WM_CREATE: { CreateWindow(TEXT("BUTTON"), TEXT("Options"), WS_CHILD | WS_VISIBLE, 10, 10, 80, 20, hwnd, (HMENU) ID_BUTTON, NULL, NULL ); break; } case WM_COMMAND: { if (LOWORD(wParam) == ID_BUTTON){ MessageBox(hwnd, "No Options Available", "Error", MB_ICONINFORMATION); } break; } { CreateWindow(TEXT("BUTTON2"), TEXT("Open"), WS_CHILD | WS_VISIBLE, 10, 20, 80, 20, hwnd, (HMENU) ID_BUTTON2, NULL, NULL ); break; }
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Click here to e-mail me
Friends
TrevDog hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
TrevDog has no profile comments yet. Why not say hello?