Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Windows dlls

Author
Message
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 1st Apr 2006 12:24 Edited at: 1st Apr 2006 12:26
Which windows dll ,which function and which parameter do you need to do any of the following :


Activate an application
If the blue bar at the top of the program is grey

Terminate An Apllication

List Current Running Applications like in the task manager

Thanks,
Alex

Goto My Website And Sign Up On The Forum http://fireproductions.f5k.com
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 2nd Apr 2006 15:09
any ideas? please, i really need this!

Goto My Website And Sign Up On The Forum http://fireproductions.f5k.com
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 2nd Apr 2006 19:32
hmmm
I think in one of my old dlls it had "Activate an app"

my question to you is do you know the handle of the window, if so then it shouldn't be too hard but if not then do you know the title of the window if so then ill just have to use a function to get the handle and hope theres no duplicates, if not then you can'tdo any of those

on list current running apps i can hack something up using "GetNextWindow()"

you won't be able to do these using load dll i dont think though if that was what you were aiming for

Your signature has not been erased by a mod but rather all bits set to 0
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 2nd Apr 2006 21:47 Edited at: 2nd Apr 2006 21:49
Sorry i dont know the handle of the window however i know the title is "USER LOCK DOWN", basically my program "user lock down" stops people form using the computer unless the correct password is enter but some times the application is'nt active so people get around it unless they click on it which activates then evrything is disabled.

Goto My Website And Sign Up On The Forum http://fireproductions.f5k.com
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 3rd Apr 2006 00:23
yay then
I built a dll jsut for you then(don't you feel special)
I didn't do keywords though

command list:
Lock Window At Top HANDLE as dword
this puts the window ontop of everything

Close Window HANDLE as dword
This closes a window

HANDLE as dword=Find Window From Class classname$,title$
This gets the handle of the window named title$ in classname$ --you can ignore this

HANDLE as dword=Find Window title$
This gets the handle of a window named title$

name$=Get Next App
This gets the name of the next app in the app list --this gives the window title NOT the proccess name

Reset App List
This resets the app list so it starts from the top window




and well thats it really


example code:



the get next app behaves weird only because a lot of windows aren't titled

Your signature has not been erased by a mod but rather all bits set to 0

Attachments

Login to view attachments
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 3rd Apr 2006 12:58
Thank you very very much you saved the day, downloading dll !

Goto My Website And Sign Up On The Forum http://fireproductions.f5k.com
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 3rd Apr 2006 13:27
This Dll Is great! Thankyou again! I have attached the keywords file to this messsage, thanks.

Goto My Website And Sign Up On The Forum http://fireproductions.f5k.com
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 3rd Apr 2006 13:28 Edited at: 4th Apr 2006 17:16
Opps Sorry Me stupid and forget to attach

EDIT : Would it be possible for you to add a unlock window (unlocks window from always beeing active) and also a minimize window (minimize a window with its handle) command?

Goto My Website And Sign Up On The Forum http://fireproductions.f5k.com

Attachments

Login to view attachments
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 4th Apr 2006 19:33
Quote: "Lock Window At Top"


Isn't that the same as making it Modal?

John Y
Synergy Editor Developer
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 4th Apr 2006 19:36
Quote: "Isn't that the same as making it Modal?"


I presume it is a floating window, which operates as a normal window, except it is always the top most window on the screen.

AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 5th Apr 2006 11:16
Quote: "I presume it is a floating window, which operates as a normal window, except it is always the top most window on the screen."
Yep you cant get rid of it!

Offset of reality, could you please add a function to unlock the window from being at the front because in my program a dialog comes up but you cannt see it becuase its behind my app as my app is locked to the front!

Goto My Website And Sign Up On The Forum http://fireproductions.f5k.com
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 29th Apr 2006 08:36
sorry for late response; been off net a while

I'll work on it now!

Your signature has not been erased by a mod but rather all bits set to 0
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 29th Apr 2006 08:49
ok done
its named unlock window from top and is the exact same paremeters as lock window from top and will put it on top but not locked there

Your signature has not been erased by a mod but rather all bits set to 0

Attachments

Login to view attachments
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 29th Apr 2006 21:27
Thanks!!!


Login to post a reply

Server time is: 2025-05-18 21:04:26
Your offset time is: 2025-05-18 21:04:26