Actually, it was my mistake! I forgot to give it an id when creating it (and left it 0 by mistake) Sorry for wasting your time. I wish this forum...
unfortunately, it didn't work. GetDlgCtrlID failed and returned 0. GetLastError also returned 0 after this. How is this possible? The controls are...
Oh, sorry, I didn't notice that reference to GetDlgCtrlID, That should do it, thanks!
I am not using any resources, I'm just creating the controls using CreateWindow. Do I need to create my own resource.h file with the id's?
Hi, I created a few controls (some edits, a button) inside my window using CreateWindow. For the HMENU parameter, i just put in some arbitrary...
Separate names with a comma.