Hey to everyone,

I'm using CreateWindowEx to create a command button on my app. I did this before but I can't remember how the hell!! -> Can someone please tell me how to set an icon for my button?? It just stays blank after I add "BS_ICON" to dwStyles. I believe it has something to do with the SendMessage API but I can't remember what the damn message was, etc, etc... I want my icon to come from a picture box and not loaded from a file.

Thanks! ANY help is GREATLY appreciated!