Welcome! Log In Create A New Profile

Advanced

MDI child window without title bar.

Posted by BLS 
BLS
MDI child window without title bar.
September 26, 2008 01:33AM
ATM I am going to implement a tabbed MDI interface (mozilla like )

I am running into a pretty strange problem. Sometimes this code works... sometimes not
I am using XP,

PROCEDURE HideMDIChild(nHandle is int )

	nStyle	is int
	bRes is boolean

	nStyle = API("User32", "GetWindowLongA", nHandle,  -16)

	nStyle = (HiWord(nStyle) - 0x1 - 0x8) * 65536 + LoWord(nStyle)  // -0x40 ????

	bRes = API("User32", "SetWindowLongA", nHandle, -16, nStyle) <> 0

	
RESULT ...
BinaryAND(  (API( "User32", "SetWindowPos", nHandle,  0,0,0,0,0,0x27)<>0),  bRes)

Would be nice if somebody is willing to plug in this code into a an MDI child window -
Init. code. and tell me about the results.
HideMDIChild ( Handle ( "" ) ) // or Handle(Myself)
Bjoern Thanks in advance
BLS
Re: MDI child window without title bar.
September 26, 2008 01:42AM
I' ve better named HideMDIChild()
HideMDIChildTitleBar()

Bjoern
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: