Search found 39 matches

by willib
Sun May 29, 2005 8:46 pm
Forum: Coding Questions
Topic: ASM Questions
Replies: 2
Views: 948

HI Jack

Many thanks for the informations you gave me.
It seems to be that the error only occurs in 392 I have installed
the 393 version and now it runs. :oops:


Willi
by willib
Sun May 29, 2005 10:06 am
Forum: Coding Questions
Topic: ASM Questions
Replies: 2
Views: 948

ASM Questions

HI all freaks.
Newly I try to code ASM in Purebasic.
Here the first try:
Declare MyTest(dwoffset.l,anza.l)
testa.s=" DFDGHJKGHJKGbHJKDHSKJGADHJKHGJ"
; test.s= ""
a=MyTest(@testa,Len(testa))
Debug a
MessageRequester("ASM Example", "Should be 101: "+Str(a), 0)
End
Procedure.l MyTest(dwoffset.l,anz.l ...
by willib
Sun Feb 13, 2005 12:27 am
Forum: Coding Questions
Topic: Special replace string problem
Replies: 10
Views: 1701

Many thanks
Is it sure that a string is always successively in Storage.
ore are there any restrictions ?

best regards
Willib
by willib
Sat Feb 12, 2005 11:53 pm
Forum: Coding Questions
Topic: Special replace string problem
Replies: 10
Views: 1701

Special replace string problem

Hi Pure freaks

I want to change the Data of a string like
change stringposition 6 o "Z"
the only way I see is to code

Code: Select all

a.s="1234567890"
a.s=Left(a.s,5)+"Z"+Right(a.s,4)
Debug a"
isn`t here an easier way to do this , maybe with poke ?!?

Best regards.

Willib
by willib
Sun Jan 09, 2005 2:50 pm
Forum: Tricks 'n' Tips
Topic: Little MP3-Player without any DLL (with Volume/Speed-Setting
Replies: 17
Views: 12400

HI all here
I`m still a newbie, this code seems not to work with winxp Sp2
the MP3 load function gives back a false I=277 Line (24 FF )
What is wrong ?!?! I tried it out with PB3.90 and 3.92.
can someone Help me ?!?!
by willib
Mon Apr 05, 2004 6:35 pm
Forum: Coding Questions
Topic: Get windows at x,y ; simulate mouse
Replies: 10
Views: 2854

Hi again

My api dokumentation tells me to give the WindowFromPoint_ funktion an strukture of a point The WindowFromPoint function retrieves the handle of the window that contains the specified point.

HWND WindowFromPoint(

POINT Point // structure with point
); but when i try to do this in ...
by willib
Mon Apr 05, 2004 4:02 pm
Forum: Coding Questions
Topic: Get windows at x,y ; simulate mouse
Replies: 10
Views: 2854

Thanks a lot, I will try ....
by willib
Sun Apr 04, 2004 3:45 pm
Forum: Coding Questions
Topic: Get windows at x,y ; simulate mouse
Replies: 10
Views: 2854

Get windows at x,y ; simulate mouse

HI ALL

I need the handle of a window a a specific point f.e. at 30,40 or somewhere else on the screen ,but i do not find a API call for this.
Does someone know a funktion ? ( WINDOWS )

I want to simulate the following think:
Go with the mouse to one point ; press mousekey one ; go to another point ...
by willib
Sun Mar 14, 2004 5:53 pm
Forum: Coding Questions
Topic: Use Point with a DC
Replies: 5
Views: 1790

:D Thanks I will try it out next week ;-)

Willi
by willib
Fri Mar 12, 2004 2:17 pm
Forum: Coding Questions
Topic: Use Point with a DC
Replies: 5
Views: 1790

HI again

I do not want to code the chess programm itselfs.
There are several programs like Fritz or Genius but then do not communicate with all of them. So I like to make them play against each other that way ;-)

Its a long way to go ......
by willib
Fri Mar 12, 2004 12:20 pm
Forum: Coding Questions
Topic: Use Point with a DC
Replies: 5
Views: 1790

Use Point with a DC

HI all

I want to Programm something that reads out the Top screen and analyse it ( in real I want to find a chess board )
I can get the primary screen in a DC
now i must find a rectangle in it
therefor I need the point(X,Y) colors of the DC but
I cant find a function for this.

The sense of the ...
by willib
Fri Jan 02, 2004 5:52 pm
Forum: Coding Questions
Topic: POP3 decoder - Rfc 2047
Replies: 5
Views: 2375

HI

If you get a solution tell it to me please I have the same problem

Willi
by willib
Fri Jan 02, 2004 5:49 pm
Forum: Coding Questions
Topic: Get marked text in an editor gadget
Replies: 3
Views: 1462

Hi

I found out that

SendMessage_(GadgetID(0), #EM_GETSELTEXT,0,*Buffer )
a2$ = PeekS(*Buffer)
Debug a2$

runs , but in the win32-SDK-file they wrote The calling application must ensure that the buffer is large enough to hold the selected text.
For me it's ok because I know the maximum but ...
by willib
Tue Dec 30, 2003 9:48 pm
Forum: Coding Questions
Topic: Get marked text in an editor gadget
Replies: 3
Views: 1462

thank you

let me try for a while to learn ....

Willi
by willib
Tue Dec 30, 2003 7:35 pm
Forum: Coding Questions
Topic: Get marked text in an editor gadget
Replies: 3
Views: 1462

Get marked text in an editor gadget

Hi all

I want to get the text that an user has marked in an editor gadget.

Does someone know how to begin. Maybe there is an easy way without
callback ( Windows should know because STRG C runs in PB, maybe API? )

My sys Win2000 SP3 PB3.8

best regards

Willi