Page 2 of 2 <12
Topic Options
#86121 - 2002-06-15 04:19 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mmm...
howard is reading this thread but not posting anything...
_________________________
!

download KiXnet

Top
#86122 - 2002-06-15 04:26 AM Re: kixforms - form positioning
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I'm here, but not sur {{edit} now I'm slurring my typing.} what post. I do appreciate the earlier compliment.

[ 15 June 2002, 04:32: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#86123 - 2002-06-15 04:43 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
shawn...
found this one:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconsysinfoscenario2adjustingtochangesinscreensizeresolution.asp

for VB
_________________________
!

download KiXnet

Top
#86124 - 2002-06-15 04:55 AM Re: kixforms - form positioning
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I didn't write any event handlers for that in Kixforms. I was thinking about it, but decided that would hardly ever happen. You know, when you resize the desktop, or change the Windows color/font scheme, Windows sends a notification to all the running apps, and they supposed to rescale and adapt accordingly, yeah ...
Top
#86125 - 2002-06-16 02:04 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I checked some of those reg binarys...
anyone under IE keys are not consistent.
can't trust it.

under streams\desktop is info about quicklaunch and such so abandoned that one.
under stucrects2 (stucted rectangles?) there is change that caught my eye.
changing the taskbar in height of 1,2,3,4 and five lines returned:
30,55,80,105,130

I think this is the entry.
if you look at it in regedit it's third line and fifth element.
can't post image now since using linux.

if someone could check this out and verify this is giving the same value for them.
I'll then make it into nice little udf!

cheers,
_________________________
!

download KiXnet

Top
#86126 - 2002-06-16 04:25 AM Re: kixforms - form positioning
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Jooel,
I get different values. 1e 37 50

1 Lines - "Settings"=hex:28,00,00,00,ff,ff,ff,ff,02,00,00,00,03,00,00,00,3f,00,00,00,1e,00,00,00,fe,ff,ff,ff,e4,03,00,00,02,05,00,00,02,04,00,00
2 Lines - "Settings"=hex:28,00,00,00,ff,ff,ff,ff,02,00,00,00,03,00,00,00,3f,00,00,00,37,00,00,00,fe,ff,ff,ff,cb,03,00,00,02,05,00,00,02,04,00,00
3 Lines - "Settings"=hex:28,00,00,00,ff,ff,ff,ff,02,00,00,00,03,00,00,00,3f,00,00,00,50,00,00,00,fe,ff,ff,ff,b2,03,00,00,02,05,00,00,02,04,00,00

Screen = 1280 x 1024
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#86127 - 2002-06-16 04:58 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sorry, forgot to mension.
did not use it the way you did.
i use decimal values.
try with:
$x=readvalue(the key dont remember,"stuck2")
$x=substr($x,41,42) ;maybe not correct. check
? val("&$x")

memorizing the values i have in there. laptops battery is dead...
_________________________
!

download KiXnet

Top
#86128 - 2002-06-16 05:10 AM Re: kixforms - form positioning
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You're a bit off with the code, but the following yeilds the same results you posted.

break on
$RegLoc = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2"
$x=readvalue($RegLoc ,"Settings")
$x=substr($x,41,2) ;maybe not correct. check
? val("&$x")
get $_
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#86129 - 2002-06-16 05:19 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
good.
so I thought.
so will use it as world wide truth of getting the required info.
_________________________
!

download KiXnet

Top
#86130 - 2002-06-17 08:29 AM Re: kixforms - form positioning
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
What did I do.. hey, you have no evidence.. Did I comment that code? I am like the Candyman, but if you say my name once, I hear [Big Grin]

cj

Top
#86131 - 2002-06-17 09:04 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
CJ (trying...)
_________________________
!

download KiXnet

Top
#86132 - 2002-06-17 09:05 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I did not quite follow that "did I comment that code" thing...
_________________________
!

download KiXnet

Top
#86133 - 2002-06-18 02:30 AM Re: kixforms - form positioning
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
haha, I was joking. I noticed my name in yoyur post and was saying that I didn't do it [Big Grin]

cj

Top
#86134 - 2002-06-19 09:31 PM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok shawn...

no we have udf which can get me the taskbar info.
so, I query the height and side and desice where to popup or slide the checker window.

but, can I hide the system bar in form-window?
it has to have no other thing than little room for text and button for opening ie.
or hyperlink the text (possible?) in such way that it opens ie in that thread...

so no bars nor extra borders...
_________________________
!

download KiXnet

Top
#86135 - 2002-06-19 09:46 PM Re: kixforms - form positioning
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hey Jooel, might try this style:

$form.borderstyle = 0

-Shawn

Top
#86136 - 2002-06-19 10:00 PM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you seem to be checking for your name -> shawn <- cause you post when someone says it, otherwise pretty silent.

ok, I'll try it out.

cheers,
_________________________
!

download KiXnet

Top
#86137 - 2002-06-19 11:39 PM Re: kixforms - form positioning
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Jooel, I'm not checking for my name, my friend. Im involved in a relatively serious production problem at work right now. Been working on it since Sunday night, straight through to today, without much sleep. I've been checking the board on and off, whenever I get a free minute. So haven't been too active over last few days.

[ 19 June 2002, 23:40: Message edited by: Shawn ]

Top
#86138 - 2002-06-20 12:13 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sad.
well, I'm drinking beer for you!

just tomorrow and then will be out of work and town and this BB for 4 days...

ah, holidays!
_________________________
!

download KiXnet

Top
#86139 - 2002-06-20 03:34 AM Re: kixforms - form positioning
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11625
Loc: CA
Don't you dare take a Holiday Lonkero. Your post rating will take a dive. [Eek!]

How will you pass Les by the end of July if you take vacation?

Top
#86140 - 2002-06-20 10:26 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
doc, I surely am sad about that.
and probably you will get ahead of me too!
tomorrow maybe...

but, you see, we have this thing called juhannus.
it's pagan celebration and can't be just at home.
I'm going to drink something, which color is the same as the waters color, and as much as I normally drink water. you get the picture.
so, I can't be posting here (it'd be catastrophy!)

I don't even have to drive, cause my little brother is my driver starting from this evening.
yippiyayee!

anyway, be sure that I'm coming back with lots and lots of posts to offer!

cheers,
_________________________
!

download KiXnet

Top
Page 2 of 2 <12


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 202 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.162 seconds in which 0.115 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org