Search found 15 matches

by Hiller
Fri Apr 16, 2004 6:52 pm
Forum: Coding Questions
Topic: inccorect FLOAT or where ###.##?
Replies: 13
Views: 2750

inccorect FLOAT or where ###.##?

Guys!

a.s = "344.23 355.78 4444.343 2.03" ;read from file
temp.s = Mid(a,1,7) ; 344.23

koef.f = ValF(temp) ; 344.22999999 - :(
...
AddGadgetItem(2,-1,StrF(koef.f) +" /2 = "+ StrF(koef/2))

result:
344.22999999 /2 = 172.11499995

need show:
344.23 /2 = 172.115

Question: how?
by Hiller
Wed Mar 31, 2004 6:36 am
Forum: Coding Questions
Topic: Events for all gadgets ?
Replies: 8
Views: 2313

He's rights.
All in documentation :lol:
by Hiller
Wed Mar 31, 2004 5:49 am
Forum: Coding Questions
Topic: Events for all gadgets ?
Replies: 8
Views: 2313

So how can I tell they're typing in text in a string gadget if I want to trap every keystroke?

Using thise:
Procedure KeyboardProc(nCode,wParam,temp)

MessageRequester("KeyPress","VirtCode "+Str(wParam),0)

ProcedureReturn 0
EndProcedure

OpenWindow(0,0,0,400,300,#PB_Window_Systemmenu| #PB ...
by Hiller
Wed Mar 31, 2004 1:10 am
Forum: Coding Questions
Topic: Events for all gadgets ?
Replies: 8
Views: 2313

Hmm...
Gadget string don't have variables #PB_.. It's have flags and parent window events.

P.S. I'm bad speak to English. :wink:
by Hiller
Wed Mar 31, 2004 12:20 am
Forum: Coding Questions
Topic: load HTML using IE stream
Replies: 4
Views: 2315

I think WebBrowse<>WebGadget.
Webgadget class in ATL.dll
WebBrowse class in msHtml.dll

See in msdn -> download -> example Atl Browser (C ++)

Maybe I'm wrong. :?
by Hiller
Tue Mar 30, 2004 10:13 pm
Forum: Coding Questions
Topic: load HTML using IE stream
Replies: 4
Views: 2315

Can I wrong but WebBrowser in description of msdn the same that and in Pure Basic WebGadget (ATL Browser in msdn) :?

http://msdn.microsoft.com/library/en-us ... ntrols.asp
by Hiller
Tue Mar 30, 2004 5:15 am
Forum: Coding Questions
Topic: Beginner needs help...
Replies: 6
Views: 1648

www.purebasic.org

Maybe, thise link will help you.
If not search in google
by Hiller
Tue Mar 30, 2004 4:45 am
Forum: Coding Questions
Topic: Beginner needs help...
Replies: 6
Views: 1648

by Hiller
Tue Mar 30, 2004 3:02 am
Forum: Coding Questions
Topic: Events for all gadgets ?
Replies: 8
Views: 2313

Wath you problem?

more precisely :?
by Hiller
Tue Mar 30, 2004 1:19 am
Forum: Coding Questions
Topic: Hey people, where flags "#PB_Window_{Minimized|Maximize
Replies: 4
Views: 1433

Very Fun! :wink:

Why thise flag are not prescribed in standart flag's, it's important in openwindow procedure.

I think necessary all the same to take into account these flags in future versions. :D
by Hiller
Tue Mar 30, 2004 12:23 am
Forum: Coding Questions
Topic: Hey people, where flags "#PB_Window_{Minimized|Maximize
Replies: 4
Views: 1433

Open the PB help file (Press F1 from within the PB editor)
Click on Window under "General Libraries"
Click on OpenWindow
There ya go.

Possible flags are:
#PB_Window_SystemMenu : Enables the system menu on the window title bar.
#PB_Window_MinimizeGadget: Adds the minimize gadget to the ...
by Hiller
Mon Mar 29, 2004 11:47 pm
Forum: Coding Questions
Topic: Hey people, where flags "#PB_Window_{Minimized|Maximize
Replies: 4
Views: 1433

Hey people, where flags "#PB_Window_{Minimized|Maximize

I don't see thise flags in description of PureBasic in function OpenWindow?
Wath the problem here or I'm can read?

The last it's was a joke :wink:
by Hiller
Mon Mar 29, 2004 10:08 pm
Forum: Windows
Topic: question about HOOK's in PureBasic
Replies: 0
Views: 1541

question about HOOK's in PureBasic

Sorry, but i don't good speak to English.

My problem - how i can paste in code start hooking system (with my dll). I can do this with function SetWindowCallback, it's not working. Maybe I wrong, but it is not CallBackMessage in C.

Help. Explain to the ignoramus.
by Hiller
Mon Mar 29, 2004 9:50 pm
Forum: Coding Questions
Topic: question about HOOK procedure.
Replies: 3
Views: 1350

HOOK's - is meter of events, which begins to control all by us the indicated events in the system, and pass them at first to the program, and then system. More complete description on msdn.microsoft.com

p.s. translated by an electronic translator ...
by Hiller
Mon Mar 29, 2004 1:01 am
Forum: Coding Questions
Topic: question about HOOK procedure.
Replies: 3
Views: 1350

question about HOOK procedure.

def I'm no good speack to english. I'm from Ukraine.

People how i can using Windows Hook in Pure Basic?
My problem is: start hooking, open my DLL with my procedures and take parametrs in to my programm.

I don't search any examples with API function (hook).

And other problem: how i can create my ...