[comp.windows.ms] Questions about SetWindowPos/DeferWindowPos

grosen@amadeus.ucsb.edu (Mark D. Grosen) (07/25/90)

I have been writing a small screen arranger program to layout my 
Windows desktop.  I have been using SetWindowPos() or the new
DeferWindowPos() set of functions.  Two questions:

	1)  Can (and if so, how do) you move iconified windows using
	    these functions?  When I try it, the icon moves, but the
	    underlying text (caption text) gets left behind.  Pretty
	    wierd in that Windows thinks the icon is in two places
	    at once, since clicking on the icon or the text will
	    bring up the system menu.

	2)  Can you use combinations of the SWP_ flags, like
	    (SWP_NOACTIVATE | SWP_NOSIZE)?  The manual sets that
	    the flag "must be one of the following" values.  Also,
	    just what does the SWP_NOACTIVATE flag mean?

THanks for any info.

Mark

Mark D. Grosen		ARPA: grosen@amadeus.ucsb.edu
Signal Processing Lab / Communications Research Lab
ECE Dept.
University of California
Santa Barbara, CA  93106