win 32 api help
i was making a button on my window ..but as soon it is made it disappears forever.
iam just able to caught a glimpse of it.iam working in dev c++
i used this
HWND hBtn = NULL;
hBtn = CreateWindow("BUTTON","a",
WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,
50,50,100,25,
hWnd,
(HMENU)103,
// NULL,
hInstance,NULL);
also i wrote this after creating my main window and before the while loop which runs continuously.
can someone help
thanks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement