Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.windowsxp.general > #154849

Re: desktop icons - change grid offset ?

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.windowsxp.general
Subject Re: desktop icons - change grid offset ?
Date 2019-10-25 09:23 +0200
Organization Aioe.org NNTP Server
Message-ID <qou7up$1uhc$1@gioia.aioe.org> (permalink)
References (10 earlier) <8Uovi5PnSYsdFwp2@255soft.uk> <qos4ml$e1f$1@gioia.aioe.org> <lD7ZXJVqnZsdFwb9@255soft.uk> <qosg2f$5kp$1@gioia.aioe.org> <szsbrIm2elsdFw5w@255soft.uk>

Show all headers | View raw


John,

>>How many controls do you see in the below picture - and I don't mean the 
>>ones in the caption bar of the window itself :
>>http://zetcode.com/img/gui/winapi/statictext.png
>
> None.

There you have it.  A problem with the definition of the word "control".

> And is therefore not a "control", as most people would use the term.

I'm not "most people", and neither are you. Both of us have done "something" 
in programming, using multiple languages even.  But does it really matter ? 
We had a problem in communication, which now has been solved.

> I don't think I know anyone who would call a progress bar a control.

Actually, you've known someone who does, and for quite a while now: me. :-)

Also everyone who designs user interfaces (read: a window/dialog with stuff 
on it) will.  Most definitily if he's a programmer too.    Microsoft has 
always called them that (guess where I got my clue from), with an example 
here :
https://docs.microsoft.com/en-us/windows/win32/uxguide/controls

> In earlier posts, you said you were moving (what _you_ call, I now see) a 
> "control" that contains the icons. It now sounds as if you're referring to 
> something transparent, and thus probably invisible.

The control has been made invisible (actually, it simply does not erase its 
background and has its border-drawing disabeled, meaning that whatever 
should be behind it stays visible), not its contents (the icons).

> I'm puzzled how you (a) move such a thing, (b) know that you've done so.

a) You use one of Windows own functions to tell the control to position 
itself somewhere else (function in case: MoveWindow.  Or SetWindowPos.  Both 
work).

b) the icons that are placed on the control move with it.  As the icons move 
I know that the control must have moved.  But, I've also, as a test, enabled 
the controls build-in border-drawing (by flipping a single bit in its 
"style" property).   Seeing that border appear and change position when I 
tell the control to move does give me some confidence that I actually did 
so. :-)

Regards,
Rudy Wieser

Back to microsoft.public.windowsxp.general | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-20 13:27 +0200
  Re: desktop icons - change grid offset ? JJ <jj4public@vfemail.net> - 2019-10-21 02:06 +0700
    Re: desktop icons - change grid offset ? "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-20 20:59 +0100
      Re: desktop icons - change grid offset ? Shadow <Sh@dow.br> - 2019-10-20 19:29 -0300
    Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-21 08:56 +0200
      Re: desktop icons - change grid offset ? "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-21 08:07 +0100
        Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-21 10:06 +0200
          Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-21 11:36 +0200
            Re: desktop icons - change grid offset ? "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-21 20:01 +0100
              Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-21 22:06 +0200
                Re: desktop icons - change grid offset ? "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-21 21:29 +0100
                Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-22 08:30 +0200
                Re: desktop icons - change grid offset ? "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-24 12:01 +0100
                Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-24 14:16 +0200
                Re: desktop icons - change grid offset ? "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-24 13:32 +0100
                Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-24 17:30 +0200
                Re: desktop icons - change grid offset ? "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-25 03:02 +0100
                Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-25 09:23 +0200
                Re: desktop icons - change grid offset ? "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-26 00:10 +0100
                Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-26 08:48 +0200
                Re: desktop icons - change grid offset ? "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-26 08:46 +0100
                Re: desktop icons - change grid offset ? "R.Wieser" <address@not.available> - 2019-10-26 10:31 +0200

csiph-web