[comp.windows.misc] An interesting problem with Windows....

markh@milton.u.washington.edu (Mark Hirayama) (05/12/91)

I have an interesting little quirk going on with my Windows desktop.  Whenever
I run it, it won't allow me to make certain windows the size I want to.
The main Program Manager window, all the Accessories windows, and any
Windows applications - when I try to size them by putting the pointer on
either a boarder or a corner, it only allows me to "click" (for want of a
better word) to certain positions and sizes:  about half way up the screen
vertically and about 1/3 of the screen horizontally.  Any window inside
of these other windows, e.g. my Applications Group or a Worksheet in
Excel or something, can be sized as they're supposed to.  What's going on?

Someone told me it might have something to do with the PIF files.  I have
a 386 running in Enhanced 386 Mode, and I was experimenting with making
some DOS applications running inside a window, although I stopped because
I don't like the 'compressed' look Windows gives them.  Now I configured
all my PIF files to run DOS applications in full-screen mode, but this
clicking is still going on.

It's weird.  Could someone send e-mail if you have any suggestions or
possibilities as to what's going wrong?  

Thanks in advance!


--markh@milton.u.washington.edu
.

sguerke@brahms.udel.edu (Stephen Guerke) (05/12/91)

In article <1991May12.090003.29351@milton.u.washington.edu> markh@milton.u.washington.edu (Mark Hirayama) writes:
>
>I have an interesting little quirk going on with my Windows desktop.  Whenever
>I run it, it won't allow me to make certain windows the size I want to.

Sounds to me like you need to go into CONTROL PANEL and set the
granularity of the sizing grid. The following is from the Windows 3.0
manual page 157:

	"1. Choose the Desktop icon from the Control Panel window.
	 2. Move to the Granularity text box in the lower-right
	    portion of the of the dialog box.
	 3. Click the Up or Down scroll arrow to the right of the text
	    box to increase or decrease the size of the grid. Or type
	    the number you want.
	    The allowed range is 0 through 49.  The grid ganges in
	    multiples of eight pixels.  A value of 1 creates a grid
	    with magnetic spots every eight pixels, 2 places magnetic	
    	    spots every 16 pixels, and so forth. ...... A value of 0
	    cancels the grid.
	 4. Choose OK."
>
>Thanks in advance!
>
>
>--markh@milton.u.washington.edu
>.

Hope this helps
Steve

-- 
          --------------------------------------------------------
   Stephen Guerke, Coord. Computer Resources  sguerke@brahms.udel.edu
   University of Delaware Parallel Program    stephen.guerke@mvs.udel.edu
   Georgetown, DE 19947                       ILV20078@UDELVM.UDEL.EDU

risto@tuura.UUCP (Risto Lankinen) (05/13/91)

markh@milton.u.washington.edu (Mark Hirayama) writes:

>I have an interesting little quirk going on with my Windows desktop.  Whenever
>I run it, it won't allow me to make certain windows the size I want to.

Hi!

It is possible, that the programmer of the application in question has decided
to use the CS_BYTEALIGN or CS_BYTEALIGNCLIENT -flags with its main window.

These flags are provided for the software developers to force the window or
its client area into being aligned at certain even-byte boundaries for more
or less better performance during window repaints with some display adapters.

There's not much one can do without having made the program oneself, in which
case the cure is not to use the alignment flags.

Terveisin: Risto Lankinen
-- 
Risto Lankinen / product specialist ***************************************
Nokia Data Systems, Technology Dept *  2                              2   *
THIS SPACE INTENTIONALLY LEFT BLANK * 2 -1 is PRIME!  Now working on 2 +1 *
replies: risto@yj.data.nokia.fi     ***************************************

bob@MorningStar.Com (Bob Sutterfield) (05/15/91)

Isn't this group about windows, not about Windows?  That is, shouldn't
MS-Windows(tm)-specific discussion happen in comp.windows.ms,
reserving comp.windows.misc for window system issues in general?

Yes, I could (and do) use my "k" key a lot, but that's why there's
already the subdivision...