l want to make a program using MSVC++ 2010. The code compiles and the code before the dialog procedure works but the dialog doesn't pop up. However if l take the same code to Dev-C++ it runs fine but the not all the dropdown list shows. Thanks
snippet below:
/////.cpp
.....
switch (message)
{
case WM_CREATE:
MessageBox(hWnd, L"Run",L"Message",0);
DialogBox(((LPCREATESTRUCT)lParam)->hInstance,L"CHOICEBOX",hWnd,ComboDlg);
return 0;
///dialog proc
INT_PTR CALLBACK ComboDlg(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam){
int i=0; static int firsttime=1;
switch(message)
{
case WM_INITDIALOG: