Re: Windows Classes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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,
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.
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Windows Classes
    ... shows windows classes of a window. ... "TfrmList",and they had some other child controls, for example one of ... I think it should be related to windows classes (using ... Common examples are the "buttons" in the standard toolbar and the "cells" in an Excel spreadsheet. ...
    (microsoft.public.vc.mfc)
  • Re: Cross-platform development issue with PLAF classes
    ... I assume that you want your app to automatically use the GTK LAF on Linux and use the Windows LAF on Windows ... The result is that I cannot fully build the system on the Windows platform which is my chief development environment. ... While it makes sense not to include unsupported classes in the runtime, why are the Windows classes included on Linux and how do I build my system on Windows? ...
    (comp.lang.java.gui)
  • Re: IE Automation send return
    ... How do I send a carriage return to my IE object? ... Also you could send it a keystroke via Windows, cf. the documentation on the Windows classes that the Windows version of ooRexx supplies. ...
    (comp.lang.rexx)
  • Re: Get display name of execuatable
    ... is enumerating all IE/Explorer windows through ... Not exactly from VBScript. ... into each window, enumerating buttons and their ... available to script. ...
    (microsoft.public.scripting.vbscript)
  • Re: Hidden Program Causing Problems
    ... Checking Windows NT UserInit: ... Autorun entries from Registry: ... Enumerating Browser Helper Objects: ... [Creative Software AutoUpdate Support Package] ...
    (microsoft.public.windowsxp.help_and_support)