Search found 35 matches

by Nueng
Wed Mar 28, 2007 4:57 pm
Forum: Game Programming
Topic: Can i interface PB+OGre with C#
Replies: 7
Views: 4052

Can i interface PB+OGre with C#

I am c# programmer and want to make some graphics software.
i like PB because it's has a lot function for graphics while c# is none.

how should i do, if i want write code in C# and part of graphics i will
use Purebasic..

introduce me easy way please ...



best regard

ps. sorry am not strong ...
by Nueng
Wed Nov 16, 2005 2:38 am
Forum: Coding Questions
Topic: how to write mouse hook procedure with all application !!
Replies: 3
Views: 1756

Thank you All :)
by Nueng
Sun Nov 13, 2005 3:39 am
Forum: Coding Questions
Topic: how to write mouse hook procedure with all application !!
Replies: 3
Views: 1756

how to write mouse hook procedure with all application !!

I see this code


#WM_CAPTURECHANGED=533

Procedure WndProc(hhWnd, uMsg, wParam, lParam)
Select uMsg
Case #WM_CAPTURECHANGED
Debug lParam
Debug "Mouse Capturechanged"
ProcedureReturn 0
Case #WM_LBUTTONDOWN
MessageRequester("Left","ok")
ProcedureReturn 0
Case #WM_RBUTTONDOWN ...
by Nueng
Sat Nov 12, 2005 4:36 pm
Forum: Coding Questions
Topic: how to disable mouse click in many location area (help plzz)
Replies: 2
Views: 1395

in the game mouse still use..
but can't click in some button sush as option, exit game

...

I found mouse hook source code


Global hhook
Procedure MouseProc(nCode, wParam, lParam)
*ms.MOUSEHOOKSTRUCT = lParam
SetGadgetText(0, "x: "+Str(*ms\pt\x))
SetGadgetText(1, "y: "+Str(*ms\pt\y))
If ...
by Nueng
Sat Nov 12, 2005 3:55 pm
Forum: Coding Questions
Topic: how to disable mouse click in many location area (help plzz)
Replies: 2
Views: 1395

how to disable mouse click in many location area (help plzz)

I want to make program for control game
because user can click in option menu, high score, exit and many many ect

If I protect mouse click may be this project will be success

can you introduce me about mouse hook

thank you... (^^)
by Nueng
Sun Jul 31, 2005 4:22 pm
Forum: Coding Questions
Topic: Can I use LDB (Little DataBase) about 50 million records?
Replies: 1
Views: 845

Can I use LDB (Little DataBase) about 50 million records?

may be sometime more than 100 million records..

... I never see performance of this lib

some body can explain me about that performance?

50 - 100 million records how long to search data in it...


thank a lot for your kindly...
by Nueng
Tue Jul 26, 2005 4:52 pm
Forum: Coding Questions
Topic: how to get text from THistoryList.. (see picture in topic)
Replies: 0
Views: 661

how to get text from THistoryList.. (see picture in topic)

I want to grap text from THistoryList ......but it's not standard window control somebody can introduce me how to fix this problem....

Image


thank a lot....[/img]
by Nueng
Sat Jul 09, 2005 2:16 pm
Forum: Coding Questions
Topic: My project must use png alpha channel and I can't use x2d li
Replies: 0
Views: 676

My project must use png alpha channel and I can't use x2d li

Help please... (^^!)

my project much use Png alpha channel and I try to use X2D lib
but It's error 'TB_Debugger'...

I'm use Purebasic 3.93, how should I do ?...


some body help please..... (-_-')

Thank a lot for future...
by Nueng
Wed Jul 06, 2005 7:39 am
Forum: Coding Questions
Topic: Where my topic ?, What wrong am I ?
Replies: 2
Views: 847

Where my topic ?, What wrong am I ?

....I don't know ? why topic of mine has been deleted

...about how to expolit and remote computer by .png


you should introduce me before delete it....

:cry:
by Nueng
Sun Jun 12, 2005 3:22 pm
Forum: Coding Questions
Topic: GUI project
Replies: 1
Views: 772

GUI project

I found BCF project (from blitz website)

http://www.blitzbasic.com/toolbox/toolbox.php?tool=5

are you ever seen other pb project but look like this ?

I want to study... concept....

thank a lot for your kindly
by Nueng
Sun Jun 12, 2005 11:21 am
Forum: Coding Questions
Topic: can you grab sound from left spk and play on right speaker
Replies: 0
Views: 695

can you grab sound from left spk and play on right speaker

... I must write karaoke software
in singer mode...
I must mute left channel and copy right channel to left

in same problem at karaoke mode
I must mute right channel and copy left channel to right

how should i do .... show me the tactic please...
by Nueng
Sun Jun 12, 2005 10:56 am
Forum: Coding Questions
Topic: MCI problem help please...
Replies: 3
Views: 1394

ok I try this ...


; singer mode (Right Channel)
mciSendString_("setaudio FILM left off" , Buffer$,128,0)
mciSendString_("setaudio FILM right on" , Buffer$,128,0)

; stereo mode (Both Channel)
mciSendString_("setaudio FILM left on" , Buffer$,128,0)
mciSendString_("setaudio FILM right on" , Buffer ...
by Nueng
Sun Jun 12, 2005 8:19 am
Forum: Coding Questions
Topic: MCI problem help please...
Replies: 3
Views: 1394

MCI problem help please...

I want to make karaoke program that can control On-Off channel 1 or channel 2 In Mpeg of vcd files.
( The vocal karaoke feature cancels or restores lead vocals feature)

I am using this syntax:


Buffer$=Space(128)
mciSendString_("OPEN d:\temp\test.dat TYPE MPEGVIDEO ALIAS FILM",Buffer$,128,0 ...
by Nueng
Wed Jun 01, 2005 6:32 am
Forum: Coding Questions
Topic: how to use GetDC_() with hided windows
Replies: 3
Views: 1266

Arkkkkkkkkkkkkk....

:cry:
by Nueng
Tue May 31, 2005 3:30 pm
Forum: Coding Questions
Topic: how to use GetDC_() with hided windows
Replies: 3
Views: 1266

how to use GetDC_() with hided windows

I want to check color point on control in hided window..

this code from me...


MessageRequester("Ready ?" ,"")
sysviewDC = GetDC_( hwndSysview )
color = GetPixel_( sysviewDC, x, y )


color will return -1 alway if window is background (or not shown)

but if window is foreground color will return ...