The subject contains the whole question.
Note that I'd like to create a window, not a messagebox.
Some lines of VC code would be greatly appreciated.
(right now, I'm using the following:
d->CreateWindowEx(WS_EX_CONTROLPARENT,"#32770",windowname,WS_VISIBLE|WS_POPUPWINDOW|WS_CAPTION, 0, 0, X,Y, NULL, NULL);
->It works from a dialog app, but crashes from a console app.
(it seems that it is looking for a parent window)