Hey guys...I'm trying to transition from "good ol" MFC to the Win32 API. I need help in creating a button. I've got my program to create and register a windows class just fine and the program runs. I tried creating the button using CreateWindow in the WinMain() function. When I run the program, the button doesn't show up, BUT when I click in the area of WHERE the button is supposed to be, it magically appears. My guess is that it just isn't initializing when the program first starts. I've tried doing ShowWindow() and UpdateWindow() right after I create the button and I have captured the WM_PAINT message. What would be causing the button to NOT appear when I first run the program. Thanks for all your input....I'm so used to the ease of MFC.
Niky Williams
NTS Marketing, Inc.
Niky Williams
NTS Marketing, Inc.