Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Windows API: Enumerating Clarion Tab Windows 2002-12-17 -- Jim Kane Newsgroups: TopSpeed.Topic.Language
it looks like x-spy that comes with visual c.
the key info is that the window you want is a child of the client area. To
get the hwnd, enumchildwindows() and for each window found call
getclassname() untill you find cla$tab or what ever it is you want. Once
you have the hwnd, call getwindowtext() to read the text. you can also call
getwindowlong() to read the style and find the first tab - the one with the
ws_group style. Once you have that you can read the others in order with
getnextdlggroupitem() or soon as you find one tab in the enumeration use
that api to with the direction flag set to true to move thru the tabs to the
first tab then reverse teh direction flag and go to the last to get all of
them.
I've always found the clarion properties and event relating to tabs to be
adequate for anything I wanted so I'm curious what your trying to do? May
be a little drawicon()?
Jim Kane
"Jim Gambon"
Today is November 21, 2024, 7:31 am This article has been viewed 35214 times. Google search has resulted in 44 hits on this article since January 25, 2004.
|
|