c - Child Window with Limited Resizing -


I want to create a child window that takes all the place on the left side of the main window, but its minimum width is 128 pixels. Also want it to be shaped, but only on the right edge, and make sure the width stays at a minimum of 128. Make a hair window with these styles: WS_EX_STATICEDGE, WS_SIZEBOX | WS_CHILD | Handling WS_VISIBLE and WM_NCHITTEST messages, I can only resizable it on the right edge, but I can not do this, so the minimum width remains at 128. Can anyone tell me how to do this or if there is any other window class which takes care of all of this?

You must handle messages that resize windows: WM_POSCHANGING , WM_SIZING , WM_SIZE and WM_POSCHANGED . The best user experience is to handle.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -