Results 1 to 3 of 3

Thread: Window handles

  1. #1
    Quell
    Guest

    Window handles

    Hey.
    i tried to get a window handle of a button in a win32 application under windows xp. I used the Spy++ to try to get the name of the button, however i could not select the button, i could only select the area around it. I also used Winspector Spy(free imitation of spy++)
    same problem.
    I am positive i can't find any info about this. I looked on msdn on documentation to spy++
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcug98/html/_asug_opening_window_properties.asp

    any ideas on why i can't select the button, i can only select the dialog box itself?
    thx
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    This can be a windowless control, such as TBitBtn in Delphi, some button in VB as I know. They do not have a window handle, instead of they will be drawed directly on the area of parent control.

  3. #3
    Quell
    Guest
    is there a way to be sure if it is windowless?
    when i move my find window tool over the window i get that is is of "Surface" class. So i figure it is a custom class.
    I found some of the .res file:
    Code:
    "LoginButton"
    	{
    		"ControlName"		"Button"
    		"fieldName"		"LoginButton"
    		"xpos"		"120"
    		"ypos"		"117"
    		"wide"		"80"
    		"tall"		"24"
    		"autoResize"		"0"
    		"pinCorner"		"0"
    		"visible"		"1"
    		"enabled"		"1"
    		"tabPosition"		"3"
    		"labelText"		"#Login_Btn"
    		"textAlignment"		"west"
    		"dulltext"		"0"
    		"brighttext"		"0"
    		"wrap"		"0"
    		"Command"		"Login"
    		"Default"		"1"
    	}
    Any ideas if this button resource is suaully used as a window or not. just by assosiation, have anyone seen a resource declaation like this an was it used as a window or not?
    Last edited by Quell; December 26th, 2004 at 12:26.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. Dbgeng based handles (PART 2 .............)
    By blabberer in forum Blogs Forum
    Replies: 0
    Last Post: January 29th, 2013, 21:15
  2. The handles button...
    By y0verflow in forum OllyDbg Support Forums
    Replies: 5
    Last Post: April 10th, 2008, 19:28
  3. NtQuerySystemInformation and open handles
    By omega_red in forum Advanced Reversing and Programming
    Replies: 10
    Last Post: September 5th, 2004, 09:43
  4. Replies: 6
    Last Post: March 19th, 2003, 16:57
  5. Handles window displays list of handles owned by d
    By Anonymous in forum OllyDbg Support Forums
    Replies: 10
    Last Post: March 15th, 2003, 10:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •