 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
HyberCode Cheater
Reputation: 0
Joined: 17 Feb 2016 Posts: 40
|
Posted: Tue Dec 06, 2016 1:47 am Post subject: [win32 C++] Question about Static Label |
|
|
why is BN_CLICKED Doesn't work with Labels ?
| Code: | if (wParam == MAKELONG(something, BN_CLICKED))
{
MessageBox(NULL, "why", "i don't know", MB_ICONINFORMATION);
} |
yes i did define [something]
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Tue Dec 06, 2016 2:20 am Post subject: |
|
|
only buttons receive BM_ messages
try WM_LBUTTONDOWN
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
HyberCode Cheater
Reputation: 0
Joined: 17 Feb 2016 Posts: 40
|
Posted: Tue Dec 06, 2016 2:37 am Post subject: |
|
|
not sure if i am missing something but is't suppose to be like this ?
| Code: | hWndChild = CreateWindowEx(0,"Static", "something",
WS_CHILD | WS_VISIBLE ,
11, 190, 80, 20,
hWnd, (HMENU)something, g_hInst, NULL);
SendMessage(hWndChild, WM_SETFONT, (WPARAM)g_hfText, FALSE); |
WM_LBUTTONDOWN not working
|
|
| 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 You cannot attach files in this forum You can download files in this forum
|
|