comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
January 2008
motuwethfrsasuw
 123456 1
78910111213 2
14151617181920 3
21222324252627 4
28293031    5
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Get the handle of controls not reachable with the mouse         


Author: mml.marc
Date: Jan 10, 2008 03:52

Hello,

An application has a class #32770 window (Dialog) which contains
controls
identified by their ControlId.
I have to write the code to get their handle.

But these controls can't be reached by the mouse unless you click on a
"Modify" button the application furnishes and I must get the handles
without
entering that"Modify" mode.

I use the WindowFromPoint(x,y) fonction, fired by the OnMouseMove
event : it
returns the handler of the #32770 window even when the cursor is upon
one of
these controls inside the #32770 window : the WindowFromPoint(x,y)
fonction
doesn't reach them.

However, with the "Window Search" tool of Spy++, I can reach them and
Spy++
returns their Handle.
Show full article (0.76Kb)
2 Comments
  Clipping childs to a rectangle?         


Author: Gernot Frisch
Date: Jan 10, 2008 02:02

Hi,

is it possible to clip child windows to a rectangle on the parent (not
the full parent). Or must I make a child window in the parent that
will be the parent for the clipped childs?

--
-Gernot
int main(int argc, char** argv) {printf
("%%silto%%c%%cf%%cgl%%ssic%%ccom%%c", "ma", 58, 'g', 64, "ba", 46, 10);}
no comments
  What API can I use that checks to see if a process is running.         


Author: troyboy
Date: Jan 10, 2008 01:04

Hi, I have several programs running in windows. They show up in the
task manager under the processes tab as "voice.exe" and under the
applications tab as "Voice Line 1","Voice Line 2", and "Voice Line 3".

What api can I use to check to make sure these processes are running?
I have very poor c++ skills so an example would be great.
1 Comment