View Poll Results: Question rate

Voters
4. You may not vote on this poll
  • It's for intermediate users

    2 50.00%
  • It's for Beginners

    1 25.00%
  • It's for bit advanced users

    1 25.00%
Results 1 to 3 of 3

Thread: Experts only!!!!

  1. #1

    Thread Starter
    Fanatic Member prog_tom's Avatar
    Join Date
    May 2001
    Location
    Los Angeles and Little Rock
    Posts
    810

    Post Experts only!!!!

    (1). What is GetWindow(); and how do I use it?
    (2). How to get the object on another HWND(window)? How to declare the object?

    Amplified:

    (2). GetDlgItem(Hwnd2,EDIT2);
    { Hwnd2 is another window, not under my control, I didn't create it, how do I get EDIT2 on Hwnd2? Everytime I try to use this command it returns an error: "EDIT2 not Defined". and if I defined it, still I cannot get the control EDIT2. }
    { I used FindWindow() to obtained Hwnd2 and I know there's an object on Hwnd2 called EDIT2 }

    prog_tom
    JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
    http://physics.sviesoft.com/forum

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    1. GetWindow is used to explore the window tree, check out msdn for syntax
    2. win32api is not object oriented, so all the handles represent the objects, you use the associated functions to create, modify and remove the objects. To retrieve a window that you don't have the handle (for instance for an external application) you use findwindow, enumwindows or getwindow
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625
    I dont understand, what is the poll for?? Your title is quite irrelevant if I may say so.
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

Posting Permissions

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



Click Here to Expand Forum to Full Width