|
dev.gamez.lv Latvian Game Developers Community
|
View previous topic :: View next topic |
Author |
Message |
banshee
Joined: 22 Aug 2005 Posts: 10 Location: Behind you
|
Posted: Fri Sep 23, 2005 5:01 pm Post subject: Pogas |
|
Khem, esmu iesaaceejs un man ir kaarteejaa probleema tagad ar win32 pogaam:
Probleema ir taada, ka poga nesanjem sev nepiecieshamo zinju
Code: |
/// pogu taisa taa
hWndPoga=CreateWindow("BUTTON","Poga",WS_CHILD|WS_VISIBLE|BS_DEFPUSHBUTTON,0,0,64,32,hWnd,(HMENU)IDC_POGA,hInstance,0);
// ,kur HWND hWndPoga, hWnd;
// #define IDC_POGA
// pogu apskata galvenaa logaWinProc(HWND ...........)
case WM_COMMAND:
{
int trigger = LOWORD(wParam);
switch(trigger){
case IDC_POGA:
{
MessageBox(hWnd,"BUTTON","BUT",MB_OK);
}
break;
}
} |
_________________ If you hear me screaming- you'll be dead
Last edited by banshee on Fri Sep 23, 2005 10:19 pm; edited 1 time in total |
|
Back to top |
|
|
qwerty Guest
|
Posted: Fri Sep 23, 2005 10:05 pm Post subject: |
|
IDC_POGA un IDC_PARSE vērtības sakrīt? |
|
Back to top |
|
|
banshee
Joined: 22 Aug 2005 Posts: 10 Location: Behind you
|
Posted: Fri Sep 23, 2005 10:20 pm Post subject: |
|
srry, mana kljuuda - tas ir viens un tas pac _________________ If you hear me screaming- you'll be dead |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|