|
-
May 5th, 2003, 03:27 AM
#1
Strange behaviour of child-windows with WS_THICKFRAME-style
Hi again,
I just ran into another problem with Win32API:
I wanted to place a child-window (for "panel"-purpose) into a frame-window. I set the style WS_THICKFRAME because I wanted to have such a nice bevel ;o)
So far, so good, but when I move the mousepointer over one of the frames I get a IDC_BEAMWE-cursor and I am able to resize the child-window just dragging to borders with the mouse.
Ok, this is a nice feature but unexpected. And in my application it is as undesired as it can be.
so please, can somebody tell me why this happens and how to turn this off ? Am I able to use a WS_THICKFRAME without having the resulting window resizeable with mouse ?
All I want is a childwindow with a beveled border, nothing else. I don't want to draw the beveled border myself, but if there is no other way....
by the way: WS_THICKFRAME allways produces a raised bevel. does anybody know how to get a lowered bevel ?
I would appreciate any help.
thanx in advance
Juergen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|