create a button in a windows used win32Api.
for example:
HWND button = ::CreateWindow("button","Button",WS_CHILD,0,0,100,100,parent,NULL,::GetModuleHandle(NULL),0);
::ShowWindow(button,SW_SHOW);
Leave this post for other people that might want to know how to make a button.
Are you joking ?!
There are just > 40000 hits on Google Groups on CreateWindow(), 300 000 on Google ,
firts hit in 1989
It's the first Win32 api that a newbie learns.
Read Petzold !
1. You can't delete your main post because someone has posted on to your thread.
2. If your wanting to delete your thread after making it, you might want to think about the following:
Could I get this info elsewhere?
Does this make it unnessecarily inconvenient for them?
Is this question stupid? (there are exceptions to this one :P)
3. If you really want this post to stay up, why not give an example of all the other controls in the WinAPI?