forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Clip Desktop Space
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up
View previous topic :: View next topic  
Author Message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sun Sep 28, 2003 2:56 am    Post subject: Reply with quote

I only found one issue... Not bug, just issue.

When starting new programs, if they previously had the top and left
coordinates under the appbar area, the system does not push the new
window out in the open.

Basically, if have an appbar at the top, it's 21 pixels high, the desktop
has been pushed down, open windows have been pushed down, great.
But if I run a new program, and if it opens to 1,1 then it shows up
underneath the appbar.

Do you understand what I'm saying?

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Sep 28, 2003 11:07 am    Post subject: Reply with quote

Hi Garett
Yes I did look into it. I think you are talking about a ontop bar on the top screen edge and the title bar of the new window(unless maximized) can get underneath the app bar and you can't contol that window now without access to it's title bar. I think this is the behaviour of windows itself, even XP Sad
EDIT:
No ....
I checked the normal windows tool bars they check if a window title bar is hidden underneath and push it down. I will try if it is possible inside the dll without subclassing like thing (which I don't want as errors will certainly bring in crashes). Else it can be acheived in VDS itself I think.

BTW:
Appbar start,<window class name>,<position> actually has a additional undocumented parameter messsge number i.e
Appbar start,<window class name>,<position>,<messsge number>
You can specify a custom message number and use option msgevent. This is untested and entirely at users risk.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Sep 28, 2003 2:00 pm    Post subject: Reply with quote

This whole appbar thing does not work for me. Crying or Very sad
If I could see the source of the DSU or something I might be able to
fix it but nothing happens when I click "create". Sad

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Sep 28, 2003 3:32 pm    Post subject: Reply with quote

Garett:
Probably the best way to tackle this is using:
A custom message number (WM_USER+Number)
NB: WM_USER = $400
and option msgevent
Code:
:customevent
REM this event is triggered whenwver a window moves beneath the appbar.
REM Find the handle of the window which is above the coordinates
REM of the app bar using @WINATPOS().
REM Reposition that window using WINDOW POSITON.


I think this should work as the event is going to be fired (WPARAM = 2)
until all the windows get cleared.
------------
FF
1.Did you extract all the contents of the zip file into a directory before testing ?
IF you have already done and it doesnot work then simply delete the appbarsettings.ini file.
This will re-register the dll using regsvr32.exe or you could manually register the dll . Please note that that this is a activex dll and you need to register it.
Manual registration:
regsvr32.exe nameof dllincludingpathdll1
regsvr32.exe nameof dllincludingpathdll2
Have you anytime dleted the VB6 runtime that is otherwise shipped with XP ?
The dsu handles many of these things for you
as I said it is not a true win 32 dll.
I don't see *any* reason for it not to work in XP/win 98 unless ofcourse the exe is run without the dlls in the same directory for the first time in which case simply delete that ini file and restart Smile or the VB runtime is missing. I had doubts about WinME though as I have not tested it on that.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Sep 28, 2003 4:27 pm    Post subject: Reply with quote

It could be that the VB runtime is missing because I never checked
that. I figured it would make an error.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Sep 28, 2003 5:23 pm    Post subject: Reply with quote

One thing though, in the INI file, it talks about phone-dialing DLLs.
I'm a bit confused. Confused

Quote:
///////////////////////////////////////
This is a reference file to check the
registration status of the ActiveX dlls
So donot modify anything
If the dlls are not working properly
simply delete this
A new one will be recreated and
the dlls will be re-registered.
Also make sure you don't change the
names of the dlls from Dialinterf.dll
and PhoneDialer.dll else they cease to
function.
///////////////////////////////////////

_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Sun Sep 28, 2003 6:52 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Sep 28, 2003 5:37 pm    Post subject: Reply with quote

No I am sorry for the oversight It is the same list template taken from a phonedialer dll I wrote for VDS. Correct name of the dll is as that of the dll itself. Anyway that requirement has been overcome and any name for the dll will work but you need to register them manually if you chnge the name that's all.
BTW if you want to dial phone using mscomm32.ocx you can look at the sample on my homepage in DLL section. VDS sometimes throws false errors so I have not yet posted it here.
Did the dll work ?
such errors are likely due to copy/paste and I cannot dedicate that much freetime that I can always write everything afresh Sad .
I am sad to see that being posted in red letters.
I will rectify that error tommorow. I don't think it's a big bug after all.
I was thinking of interfacing XP explorer bar (common file tasks bar on the left) in VDS using activex. But now I have decided otherwise.
FF if you are still concerned Sad I will give you the complete source. PM me.

Regards

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Sep 28, 2003 6:52 pm    Post subject: Reply with quote

Sorry if I hurt you by posting it in red letters. I was just trying to
point it out.

I'm not concerned. But I was just wondering what a phonedialer
DLL had to do with this.

Keep up the good work. Very Happy I have to download the VB6 runtime.

Again, sorry if I hurt you.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sun Sep 28, 2003 7:45 pm    Post subject: Reply with quote

Codescript, thanks for checking into this for me. I'm going to take a look
at trying a couple of idea's. I think this will work out fine Smile

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Sep 29, 2003 12:45 am    Post subject: Reply with quote

Me too. I have been wanting this for a while. Great job! Smile
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group