View Poll Results: Question rate
- Voters
- 4. You may not vote on this poll
-
Dec 28th, 2001, 11:39 PM
#1
Thread Starter
Fanatic Member
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
-
Dec 29th, 2001, 06:38 AM
#2
transcendental analytic
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.
-
Dec 30th, 2001, 08:08 PM
#3
Fanatic Member
I dont understand, what is the poll for?? Your title is quite irrelevant if I may say so.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|