like when the user pass the cursor above the corner of the window...
Do you apply WS_SIZEBOX or WS_THICKFRAME when creating a window? They both make your window resizable.
just this :
INVOKE CreateWindowEx,WS_EX_PALETTEWINDOW ,ADDR ClassName,ADDR AppName,\
WS_OVERLAPPEDWINDOW ,CW_USEDEFAULT,\
CW_USEDEFAULT,300,200,NULL,NULL,\
INVOKE CreateWindowEx,WS_EX_PALETTEWINDOW ,ADDR ClassName,ADDR AppName,\
WS_OVERLAPPEDWINDOW ,CW_USEDEFAULT,\
CW_USEDEFAULT,300,200,NULL,NULL,\
Don't specify WS_SIZEBOX in your window style. If you used a compound style like WS_TILEDWINDOW, then make sure you disable that bit.
If you want to keep the border then I suppose you could catch WM_NCHITTEST messages and return HTBORDER (normal border) whenever the mouse is over the sizing areas.
If you want to keep the border then I suppose you could catch WM_NCHITTEST messages and return HTBORDER (normal border) whenever the mouse is over the sizing areas.
WS_TILEDWINDOW and WS_OVERLAPPEDWINDOW styles include WS_SIZEBOX.
WS_OVERLAPPED or WS_SYSMENU works for me..:grin:
thanks guys..
thanks guys..