Page 1 of 2 12>
Topic Options
#86101 - 2002-06-14 10:09 PM kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
shawn, is there a way to get form positioned just up from taskbar?
_________________________
!

download KiXnet

Top
#86102 - 2002-06-14 11:56 PM Re: kixforms - form positioning
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Good question ... thats the neatest one I've heard yet. No, not that I know of. In fact, I can't ever recall a Windows app actually ever attempting to do that (anyone?) ...

The $form.screenheight and $form.screenwidth methods get you the physical screen dimensions (in pixels) and I suppose you could do some math and take "a guess" at where the taskbar might start. But if the user doubled the height of their taskbar - that may screw you up nicely, yeah ?

[ 18 June 2002, 12:35: Message edited by: Shawn ]

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

Registered: 1999-08-13
Posts: 8611
Just had another thought Jooel, wonder if any of the TaskBar state information is contained in the registry ? Like a desktop state setting ?
Top
#86104 - 2002-06-15 01:26 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
it has to be somewhere...
as an example, F-secure uses notification window which slider from the middle of the taskbar to just be over it.
it is shown for a while and then it slides back away.
if I've understood correctly they use java to code their apps, but still, they need to get the info from the machine...

it should be somewhere under HKCU if it's in registry...
as I think you shot correctly. it seems to be the place to search for the size value.
will hace to set up my new SMC card's kernel mod tomorrow to be back with 200Mb on my private lan.
then will start digging this up.

this just crossed my mind when thought of getting my bbchecker to new level of kix and -forms
the old one used ie and was buggy as...
have also so many new methods I'd like to investigate and BBchecker is so good for those thingies.

cheers,
_________________________
!

download KiXnet

Top
#86105 - 2002-06-15 01:40 AM Re: kixforms - form positioning
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I have to wonder, is F-Secure IN the taskbar, or OVER the taskbar ?
Top
#86106 - 2002-06-15 01:52 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I don't know have you seen this kind of thingie.
it looks like it arises from the upper border of the taskbar.
like the start menu when sliding animation is on.
it can't be IN the taskbar.

I was thinking, isn't one able to get the current ie window size?
like, if you maximize it and read the height it will be screenheight-taskbarheight, right?
can this be done?
and still with hidden IE (visible=0) ?

it would be nice to have little bar of our own in the upper right corner of the taskbar.
in bbchecker there would be shown last submitted post and when wanted, could open ie window with that thread or open other form which shows some last 20 active topics on bb...
this would easy up the triggering to posts when they appear on bb if you are as an exampe, working at the same time...
_________________________
!

download KiXnet

Top
#86107 - 2002-06-15 02:00 AM Re: kixforms - form positioning
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Yeah, think I know what you mean - I use (and love) that lightweight taskbar MP3 player thingy from MS - I chucked MediaPlayer and RealAudio out the window ... Anyways, there are buttons on the taskbar, and when you click on one of the buttons, a PLAYLIST pops up from the top of the taskbar ... slick ...

The maximize thingy ? Yeah, that would work in theory, so one would create a form, keep it HIDDEN, then MAXIMIZE it, then subtract the form HEIGHT from the SCREENHEIGHT, resize the form and make VISIBLE ... hmmm ...

{EDIT}

Can't think of a way to maximize the form though.

[ 15 June 2002, 02:04: Message edited by: Shawn ]

Top
#86108 - 2002-06-15 02:05 AM Re: kixforms - form positioning
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I could ADD a function to maximize, if you want [Wink]
Top
#86109 - 2002-06-15 02:18 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
thanks.
I was thinking as teasing the bad old ie.application for this.
creation invisible ie window is not that heavy on machine and it would not need to be killed either but the height value could be checked every 5 seconds...

mmm...
this is too tricky...
I'm just starting my laptop and will see if I can find the reg-entry for this hight value...
_________________________
!

download KiXnet

Top
#86110 - 2002-06-15 02:22 AM Re: kixforms - form positioning
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Yeah, actually, you might have to try the ie thingy. One can MAXIMIZE a window when it gets shown, eg,

$form.show($MAXIMIZED)

or maximize a visible window, but having a tough time figuring out how to MAXIMIZE an invisible window, hmmm ... One of the MSDN articles I was reading posed the question ...

"What happens if the user has their taskbar at the TOP of the screen" [Wink]

-Shawn

Howard is being usually quite tonight - that makes me nervous [Wink]

[ 15 June 2002, 02:23: Message edited by: Shawn ]

Top
#86111 - 2002-06-15 02:35 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mm...
nothing, then it is just displayed at heigth of the taskbar from the down as usual...

is this an issue... don't think so...

problem is that when after taking reg images before and after the taskbar resize compared the files and the difference is in hex code!

so can't be used without knowing what should be looked for...
_________________________
!

download KiXnet

Top
#86112 - 2002-06-15 02:39 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mmm...
howie is one I can't make sense of...
(and cj is other one)

maybe he's predicting the weather with some new app and 'cause of that keeps his brains stucked on the issue, can't be alive to the rest of the world...
_________________________
!

download KiXnet

Top
#86113 - 2002-06-15 02:46 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
heh, looking from other thread shows up he is, should I say drinking something good and having a time of relaxation [Big Grin]
_________________________
!

download KiXnet

Top
#86114 - 2002-06-15 02:49 AM Re: kixforms - form positioning
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Howard is a great guy ... smart too ... but don't tell him I said that, ok ?

[ 15 June 2002, 02:49: Message edited by: Shawn ]

Top
#86115 - 2002-06-15 02:51 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I promise!
everything that you post to this thread is just between you and me [Roll Eyes]

have anything else deep and private you wanna talk about?
_________________________
!

download KiXnet

Top
#86116 - 2002-06-15 03:27 AM Re: kixforms - form positioning
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I was thinking of if mix is needed and didn't find use for it in my mind but with fullscreen option, that is different.
to have a kix installer script which simpler to kix coders to create than more complex installers which have been made for application developers.
fullscreen picture with sticky bit allways on top would give users text, images and such.
well. maybe easier to use ie...

have to test the forms functionality currently available before I can say what I need more.
but sure, I need more.
when having a editor as an example there should be system menus for open save and such to create the feeling of normal win app.
well.
not anymore just winapp.
I'm curious how this stuff could be also used to rock the unix-like systems such as linux.

remember, when java arrived, it was talked about of being the future for sw-writers but no thanks.

the c/c++ is portable to almost everywhere and even though it needs to be ported, its faster and more stable.
huh.
don't know anymore where my brains are going. too long work days this week have made me a tomato.
when re-reading my own post can't even myself keep track on what I'm mumbling about...
_________________________
!

download KiXnet

Top
#86117 - 2002-06-15 03:33 AM Re: kixforms - form positioning
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If you resize the taskbar, these are the reg writes.

1 22.05068829 explorer.exe:984 SetValue HKCU\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\Explorer\StuckRects2\Settings SUCCESS 28 00 00 00 FF FF FF FF ...

2 22.05348780 explorer.exe:984 SetValue HKCU\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\Explorer\Streams\Desktop\Taskbar SUCCESS 0C 00 00 00 08 00 00 00 ...

3 24.30736281 explorer.exe:984 SetValue HKCU\Software\Microsoft\Internet Explorer\Desktop\Components\0\Position SUCCESS 2C 00 00 00 2C 01 00 00 ...

4 24.30742846 explorer.exe:984 SetValue HKCU\Software\Microsoft\Internet Explorer\Desktop\Components\0\CurrentState SUCCESS 04 00 00 C0

5 24.30750081 explorer.exe:984 SetValue HKCU\Software\Microsoft\Internet Explorer\Desktop\Components\0\RestoredStateInfo SUCCESS 18 00 00 00 10 03 00 00 ...

6 24.30785952 explorer.exe:984 SetValue HKCU\Software\Microsoft\Internet Explorer\Desktop\Components\GeneralFlags SUCCESS 0x5
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#86118 - 2002-06-15 03:35 AM Re: kixforms - form positioning
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
So Shawn, is tonite the nite you break 3K? It's been a slice sharing the MM with you. I will catch you sooner or later. Maybe in MMM. [Big Grin]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

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

Registered: 2001-06-05
Posts: 22346
Loc: OK
les, yes they are.
but they are hexacodes and how do you know what is the size stuf in it and how to interprete it?
_________________________
!

download KiXnet

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

Registered: 1999-08-13
Posts: 8611
No, im going to retire at 2999, then Im going to create a new account called OLE-Fart and start posting under that [Wink]

{EDIT}

Don't make a big deal about me hitting 3000, 500 of those posts was playing KiXGolf last weekend.

[ 15 June 2002, 04:21: Message edited by: Shawn ]

Top
Page 1 of 2 12>


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

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.036 seconds in which 0.011 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