df,
>
>Thanks, Mike is talking about the 3-D inset appearance of the browser control, I assume he's wanting to make it flat ala changing a VFP textbox.SpecialEffect between 3D and Plain.
I'm cc'ing Mike on this (and did on the first one too).
Frankly, I don't know if it can be done. However, if someone wanted to attempt it, I think the following might be the way to go. Naturally, this assumes that you've got the hWnd of the control. I know that a lot of them have it as a property, but don't know for certain about this on. If it doesn't it would be terribly difficult to get.
I'd drag out Spy++ and look at the Window Styles on the Style tab of the window's style sheet. I'm not sure whether or not those values are what controls the appearance. It might be an Extended Styles value, in which case you couldn't use SetWindowLong.
I'd then start playing around and changing the values of those styles that might control the frame. It would be helpful to have a copy of Winuser.h to get the values for the constants.
>>You'd use SetWindowLong() to set the style. However, I have no idea what value to pass since I'm not sure what's meant by "3-D".
George
Ubi caritas et amor, deus ibi est