Search found 24 matches
- Tue Dec 28, 2010 4:18 pm
 - Forum: Coding Questions
 - Topic: SendToBack()
 - Replies: 4
 - Views: 1114
 
Re: SendToBack()
Thank you, it works !
					- Tue Dec 28, 2010 3:48 pm
 - Forum: Coding Questions
 - Topic: SendToBack()
 - Replies: 4
 - Views: 1114
 
Re: SendToBack()
So I created this code, and expected the calculator window to move to the back, but it didn't.
What am I doing wrong here?
hwnd=0
While hwnd=0
hWnd = FindWindow_(#Null, @"Calculator")
Wend
SetWindowPos_(hWnd, #HWND_BOTTOM,0,0,0,0,#SWP_NOMOVE|#SWP_NOSIZE)
					What am I doing wrong here?
hwnd=0
While hwnd=0
hWnd = FindWindow_(#Null, @"Calculator")
Wend
SetWindowPos_(hWnd, #HWND_BOTTOM,0,0,0,0,#SWP_NOMOVE|#SWP_NOSIZE)
- Tue Dec 28, 2010 1:04 pm
 - Forum: Coding Questions
 - Topic: SendToBack()
 - Replies: 4
 - Views: 1114
 
SendToBack()
With the function 
SetActiveWindow(#Window)
you can make a window active and get it on top of other windows.
Now I'd like to figure out what the layers are. (Which windows is on top and at the back and manage it.)
For a program I'm writing I need to know which one is the least on top. Or set the ...
					SetActiveWindow(#Window)
you can make a window active and get it on top of other windows.
Now I'd like to figure out what the layers are. (Which windows is on top and at the back and manage it.)
For a program I'm writing I need to know which one is the least on top. Or set the ...
- Tue Nov 02, 2010 11:30 am
 - Forum: Coding Questions
 - Topic: Locate X & Y coordinates of another programs window
 - Replies: 3
 - Views: 863
 
Re: Locate X & Y coordinates of another programs window
Is there a way to cycle through all windows?
For an example:
I try to get the handle of any windowtitle called:
"This is my window 1.*"
Where * could be any value, so it wil work for future versions.
					For an example:
I try to get the handle of any windowtitle called:
"This is my window 1.*"
Where * could be any value, so it wil work for future versions.
- Mon Nov 01, 2010 11:56 am
 - Forum: Coding Questions
 - Topic: Detect Windows OS
 - Replies: 1
 - Views: 785
 
Detect Windows OS
I'm trying to detect the windows OS.
But the function
MessageRequester("OS Version",OSVersionText())
reports my Windows 7 as windows Vista.
Any ideas?
Which registrykey contains the ostype?
					But the function
MessageRequester("OS Version",OSVersionText())
reports my Windows 7 as windows Vista.
Any ideas?
Which registrykey contains the ostype?
- Wed Oct 27, 2010 3:01 pm
 - Forum: Coding Questions
 - Topic: Locate X & Y coordinates of another programs window
 - Replies: 3
 - Views: 863
 
Locate X & Y coordinates of another programs window
I'm trying to get my hands on the coordinates of another programs window.
My code sofar does detect the window, but i can't get any coordinates from where it is displayed.
Yes, I use the droopy lib!
handle=0
Repeat
handle=GetHandle("Another program window")
Until handle<>0
hand$=Str(handle ...
					My code sofar does detect the window, but i can't get any coordinates from where it is displayed.
Yes, I use the droopy lib!
handle=0
Repeat
handle=GetHandle("Another program window")
Until handle<>0
hand$=Str(handle ...
- Thu Jul 15, 2010 12:54 pm
 - Forum: Coding Questions
 - Topic: File Timestamp
 - Replies: 1
 - Views: 654
 
Re: File Timestamp
I managed to code this, using this code:
NbFiles=SearchFilesInit("H:\My Documents\","*.stv",0)
Repeat
File$=SearchFilesGet()
If File$="" : Break : EndIf
datum$ = FormatDate("%yyyy%mm%dd%hh%ii%ss", GetFileDate(File$, #PB_Date_Modified))
If Val(datum$) > Val(datumlast$)
datumlast$ = datum ...
					NbFiles=SearchFilesInit("H:\My Documents\","*.stv",0)
Repeat
File$=SearchFilesGet()
If File$="" : Break : EndIf
datum$ = FormatDate("%yyyy%mm%dd%hh%ii%ss", GetFileDate(File$, #PB_Date_Modified))
If Val(datum$) > Val(datumlast$)
datumlast$ = datum ...
- Thu Jul 15, 2010 11:38 am
 - Forum: Coding Questions
 - Topic: File Timestamp
 - Replies: 1
 - Views: 654
 
File Timestamp
Hi,
I'm trying to code the following:
Search a directory for files with a specific fileextension and get the newest file according to windows timestamp.
I need to get it based on time instead of date, but can't find any commands for it in Purebasic.
Anyone have any ideas?
					I'm trying to code the following:
Search a directory for files with a specific fileextension and get the newest file according to windows timestamp.
I need to get it based on time instead of date, but can't find any commands for it in Purebasic.
Anyone have any ideas?
- Mon Nov 10, 2008 12:18 pm
 - Forum: Coding Questions
 - Topic: Multi File selection
 - Replies: 3
 - Views: 599
 
- Mon Nov 10, 2008 12:07 pm
 - Forum: Coding Questions
 - Topic: Multi File selection
 - Replies: 3
 - Views: 599
 
Multi File selection
I am trying to get a string with all files selected with openfilerequester command.
But the last line of my code (in BOld) only gives 1 file instead of all the files.
I tried using an array for file$, but didn't get it working either.
After the files are selected i want to read data from them, one ...
					But the last line of my code (in BOld) only gives 1 file instead of all the files.
I tried using an array for file$, but didn't get it working either.
After the files are selected i want to read data from them, one ...
- Wed Sep 20, 2006 9:31 am
 - Forum: Coding Questions
 - Topic: Inputrequester scrambled
 - Replies: 3
 - Views: 1754
 
Inputrequester scrambled
Is there a way to scramble the text when using inputrequester?
So the entered textFro example "test" appears something like this?
****
Thanks for all solutions
					So the entered textFro example "test" appears something like this?
****
Thanks for all solutions
- Wed Apr 05, 2006 3:39 pm
 - Forum: Coding Questions
 - Topic: Reading string from file at specific line
 - Replies: 9
 - Views: 1170
 
- Wed Apr 05, 2006 1:20 pm
 - Forum: Coding Questions
 - Topic: Reading string from file at specific line
 - Replies: 9
 - Views: 1170
 
Reading string from file at specific line
Hello,
I'm trying to read a stringvalue from a file.
The string is always located at line 15 of the file, but lines are not always of the same length, so I can't use seek.
The file isn't generated by me, so i can't change it in any way.
I use readstring at the moment, but it makes me read 15 ...
					I'm trying to read a stringvalue from a file.
The string is always located at line 15 of the file, but lines are not always of the same length, so I can't use seek.
The file isn't generated by me, so i can't change it in any way.
I use readstring at the moment, but it makes me read 15 ...
- Wed Mar 22, 2006 5:03 pm
 - Forum: Announcement
 - Topic: Freeware release - rss_bar [windows]
 - Replies: 46
 - Views: 13086
 
Such dissapointment...
I was hoping rss would stand for rss documents...
But it didn't...
Smartly chosen companyname, though...
					But it didn't...
Smartly chosen companyname, though...
- Mon Jan 16, 2006 12:31 pm
 - Forum: Coding Questions
 - Topic: Gettin dll and ocx version
 - Replies: 9
 - Views: 1378
 
Thnx for the info
I thank you very much, it's been quite helpful code.
And Droopy, I might sound like a total newbie, but I don't understand how to use libraries in purebasic yet. :?
Could you give me a little example (With includes or whatever is neccesary to implement a simple command from a library?
I thank you ...
					And Droopy, I might sound like a total newbie, but I don't understand how to use libraries in purebasic yet. :?
Could you give me a little example (With includes or whatever is neccesary to implement a simple command from a library?
I thank you ...