Hi I'm using the following code to create a window

	mov   wc.cbSize,SIZEOF WNDCLASSEX
	mov   wc.style, CS_HREDRAW or CS_VREDRAW
	mov   wc.lpfnWndProc, OFFSET WndProc
	mov   wc.cbClsExtra,NULL
	mov   wc.cbWndExtra,NULL
	push  hInstance
	pop   wc.hInstance
	mov   wc.hbrBackground,COLOR_WINDOW+1
	mov   wc.lpszMenuName,NULL
	mov   wc.lpszClassName,OFFSET ClassName
	mov   wc.hIcon,eax
	mov   wc.hIconSm,eax
	invoke LoadCursor,NULL,IDC_ARROW
	mov   wc.hCursor,eax
	invoke RegisterClassEx, addr wc
	INVOKE CreateWindowEx,NULL ,ADDR ClassName,NULL,\
           NULL	,CW_USEDEFAULT,\
	mov   hwnd,eax
What I want ideally is a resizeable window with no caption. From what I understand a caption should be optional but no matter what I do I can't get rid of the blue bar. Mind you theres no text or Min, Max, etc buttons. What should I do, should I change to standard window not Ex. Also at the moment this won't resize. I know that there are a few differnet border styles so one of them will probably work, also I could do this in codeing muself if I have to. Just to summarise the ideal solution would be one whereby the window is just an empty whit rectangle. If I get that far I'll do the rest in code myslf.
Posted on 2001-04-23 13:19:00 by Zadkiel
hi your createwindowex will look like this:
INVOKE CreateWindowEx,NULL,ADDR ClassName,NULL,\
                          WS_POPUP or WS_DLGFRAME or WS_SIZEBOX,CW_USEDEFAULT,\
smurf This message was edited by smurf, on 4/23/2001 3:58:17 PM
Posted on 2001-04-23 15:40:00 by smurf
Thanks, that was brilliant, it worked a charm.
Posted on 2001-04-23 17:26:00 by Zadkiel