Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems Using HWND_BROADCAST Pin
#realJSOP13-Feb-03 6:02
professional#realJSOP13-Feb-03 6:02 
GeneralRe: Problems Using HWND_BROADCAST Pin
Peter Weyzen13-Feb-03 5:42
Peter Weyzen13-Feb-03 5:42 
GeneralRe: Problems Using HWND_BROADCAST Pin
PJ Arends13-Feb-03 5:58
professionalPJ Arends13-Feb-03 5:58 
Generalmore simple questions - registry related Pin
ns13-Feb-03 3:37
ns13-Feb-03 3:37 
GeneralRe: more simple questions - registry related Pin
AlexO13-Feb-03 3:48
AlexO13-Feb-03 3:48 
Generalfill EditBox Pin
aguest13-Feb-03 3:33
aguest13-Feb-03 3:33 
GeneralRe: fill EditBox Pin
HENDRIK R13-Feb-03 4:35
HENDRIK R13-Feb-03 4:35 
GeneralRe: fill EditBox Pin
MAAK13-Feb-03 14:32
MAAK13-Feb-03 14:32 
There are two ways I know to get handle of another window
1-EnumWindows() with a callback function. Then using EnumChildWindows() to search for the target child edit box.

2-WindowFromPoint() to get the handle of the window under the mouse cursor. ChildWindowFromPoint() to get the handle of controls

The EnumWindows() enumerate all top-level windows and pass their handle to the callback function so you can decide whether it's the needed window or not.

The MSDN would provide good information about them
EnumWindows()

EnumChildWindows()

WindowFromPoint()

ChildWindowFromPoint()
Generala simple casting question Pin
ns13-Feb-03 3:27
ns13-Feb-03 3:27 
GeneralRe: a simple casting question Pin
AlexO13-Feb-03 3:53
AlexO13-Feb-03 3:53 
GeneralRe: a simple casting question Pin
jhwurmbach13-Feb-03 3:54
jhwurmbach13-Feb-03 3:54 
Generalstrange SDI "out of memory" problem Pin
boon kian13-Feb-03 3:26
boon kian13-Feb-03 3:26 
GeneralVC6 IDE Problem Pin
JohnnyG13-Feb-03 3:10
JohnnyG13-Feb-03 3:10 
GeneralRe: VC6 IDE Problem Pin
567890123413-Feb-03 3:12
567890123413-Feb-03 3:12 
GeneralRe: VC6 IDE Problem Pin
JohnnyG13-Feb-03 3:56
JohnnyG13-Feb-03 3:56 
GeneralToolbar question! Pin
Paddy13-Feb-03 2:58
Paddy13-Feb-03 2:58 
GeneralRe: Toolbar question! Pin
567890123413-Feb-03 3:11
567890123413-Feb-03 3:11 
GeneralRe: Toolbar question! Pin
Paddy13-Feb-03 3:22
Paddy13-Feb-03 3:22 
Generalsequence of events Pin
ns13-Feb-03 1:48
ns13-Feb-03 1:48 
GeneralRe: sequence of events Pin
Roger Allen13-Feb-03 2:39
Roger Allen13-Feb-03 2:39 
GeneralRe: sequence of events Pin
ns13-Feb-03 3:08
ns13-Feb-03 3:08 
Generalnew help files Pin
includeh1013-Feb-03 1:30
includeh1013-Feb-03 1:30 
GeneralRe: new help files Pin
Iain Clarke, Warrior Programmer13-Feb-03 2:21
Iain Clarke, Warrior Programmer13-Feb-03 2:21 
GeneralRe: new help files Pin
Pavel Klocek13-Feb-03 2:26
Pavel Klocek13-Feb-03 2:26 
GeneralWindows XP logoff Pin
vil13-Feb-03 1:20
vil13-Feb-03 1:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.