` Printed Icetips Article

Icetips Article



Windows API: TAB handle & child window?
2002-08-27 -- Jens Weiermann
 
Newsgroups: softvelocity.products.c55ee


Hi Ville,

I'm doing this by creating a dummy Clarion control (a region). Then I create
the window using CreateWindowEx and assign the new window handle to the
region:

?Region1{PROP:HANDLE} = CreateWindowEx(...)

The parent window for the newly created control should be
Window{PROP:CLIENTHANDLE}. Works fine for me (not only for tabs, but also
for groups) in my products like SysTree, SysDTP, ...

Regards,
Jens

--
Jens Weiermann
solid.software
http://www.solidsoftware.de


"Ville Vahtera"  schrieb im Newsbeitrag
news:3d6b5cd5$1@news.softvelocity.com...
> Hi,
>
> Is there any chance to create child window (CreateWindowEx Function)
> onto selected TAB, i.e. ?TAB3
> I like to see newly created child window only when I select ?TAB3.
>
> ... or do I have to start hide/unhide this window, depending on the
control
> which has focus?
>
> I don't have any trouble to make this child window, but if I create it
with
> 0{Prop:ClientHandle} it's visible all the time, messing the screen big
time. 
>
> Regards,
> Ville



Printed November 21, 2024, 6:56 am
This article has been viewed/printed 35211 times.
Google search has resulted in 48 hits on this article since January 25, 2004.