The following code is from the article in cplusplus, everything work quite fine. But just the ShellExecute(), can anyone check where is the problem, i did specified the url, but why the program just terminate when i the ID_VWS is 'run' .?

I am rather new to this window api programming stuff. I stared at my code, but i can't find the problem, it is seem that when i click on other dropdown option, the program also end out terminating itself. And when i switch the order of the code, i bring the shellexecute command line forward(above the ID_Exit), the youtube page is called to my broswer, but the program still terminate itself. Does this mean I linked the dropdown option wrongly and cause the Exit(0); called every time i click any of those option?

Edit: Oh not just that, every button do the same function( load youtube then terminate...)