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