Re: Windows Classes
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 11:35:43 -0500
A pointer the article rather than the zipfile would be a lot more useful.
Why does it surprise you that window classes other than the built-in ones exist?
Now, if a window contains child controls, you have to recusively walk the child controls;
without seeing the artcile, I can't tell what its goals are, but it sounds like it is just
enumerating top-level windows. So you would have to, upon finding a window, enumerate all
its child windows in order to see them.
So the reason you don't see them has nothing to do with them being some kind of special
registered class, but almost certainly relates to the fact that the program you are
referring to doesn't recur into child controls.
Try using Spy++ to examine the window hierarchy. You'll see those windows.
joe
On 21 Dec 2006 00:31:29 -0800, "Kourosh" <kourosh.sartipi@xxxxxxxxx> wrote:
Hi everybody,Joseph M. Newcomer [MVP]
I downloaded a code from CodeProject
"http://www.codeproject.com/threads/winspy/winspy_package.zip", and it
shows windows classes of a window. Once I was testing this application
I found that some windows have classes that are not "common", for
example they are not "Edit" or "BUTTON" or..., something like
"TfrmList",and they had some other child controls, for example one of
them had two buttons, but the buttons' names didn't appear on the
list.... I wanted to ask you how can I create a control that has some
subitems, but they do not appear when enumerating the window's
controls? I think it should be related to windows classes (using
RegisterClass).
Sorry for my bad explanations!
Yours,
Kourosh.
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- Windows Classes
- From: Kourosh
- Windows Classes
- Prev by Date: Re: To add a new entry into Database
- Next by Date: Re: VirtualAlloc()
- Previous by thread: Re: Windows Classes
- Next by thread: How to have MainWindow on taskbar
- Index(es):
Relevant Pages
|