Re: [framework-dev] Questions about function: IsDocFrame()

2009-03-04 Thread Bernd Eilers
Zhu Lihua wrote: Hi Gregor, Thank you very much, I see now. blushing... There is another question: What's a WORKWINDOW? I think i can answer this one: WorkWindow is the term used by VCL ( that´s OpenOffice.orgs graphical library, see http://wiki.services.openoffice.org/wiki/VCL ) for a T

Re: [framework-dev] Questions about function: IsDocFrame()

2009-03-04 Thread Zhu Lihua
Hi Gregor, Thank you very much, I see now. blushing... There is another question: What's a WORKWINDOW? Thanks and regards, Lihua 在 2009-03-04三的 10:55 +0100,Gregor Hartmann写道: > Hi, > > the function checks if there is *any* child of type WORKWINDOW and *any* > child of type MENUBARWINDOW. >

Re: [framework-dev] Questions about function: IsDocFrame()

2009-03-04 Thread Gregor Hartmann
Hi, the function checks if there is *any* child of type WORKWINDOW and *any* child of type MENUBARWINDOW. the status of the former child is not overwritten as it is only changed if the Type matches, not in any case. Cheers Gregor Zhu Lihua schrieb: Hi all, From the following code, I ca

[framework-dev] Questions about function: IsDocFrame()

2009-03-04 Thread Zhu Lihua
Hi all, >From the following code, I can see only if the last child of pWin is a WORKWINDOW *as well as* a MENUBARWINDOW, the function will return TRUE. All the status of the former child will be overwrite by the last one. Is this the thing the function do? If so, why use a loop to read the statu