Hello forum,
the command getmenuitemtext does not work with #pb_any for the menuitem ID.
Here a code:
CompilerIf #PB_Compiler_Debugger = 0
MessageRequester( "ERROR" , "Enable Debugger!" , #MB_ICONINFORMATION )
End
CompilerEndIf
OpenWindow ( 0 , 0 , 0 , 200,200,"")
CreateMenu ( 0 ...
Search found 63 matches
- Wed Jun 27, 2012 8:07 am
- Forum: Coding Questions
- Topic: GetMenuItemText and #pb_any doesnt work
- Replies: 2
- Views: 853
- Sun Apr 24, 2011 8:56 pm
- Forum: Game Programming
- Topic: Ogre 3D - Fake Glow Effect
- Replies: 7
- Views: 4729
Re: Ogre 3D - Fake Glow Effect
but nice modelling!
created with 3dsmax or blender?
(btw. with n3xtd the glow shader functions
)
yours
max
created with 3dsmax or blender?
(btw. with n3xtd the glow shader functions
yours
max
- Wed Feb 09, 2011 1:33 am
- Forum: Off Topic
- Topic: Decrypt String:
- Replies: 8
- Views: 1655
Re: Decrypt String:
that's it..
thank you..! thanks cas!
I really have to admit that I am impressed..
I didn't get it so far..
thank you again
yours
max
thank you..! thanks cas!
I really have to admit that I am impressed..
I didn't get it so far..
thank you again
yours
max
- Wed Feb 09, 2011 12:22 am
- Forum: Off Topic
- Topic: Decrypt String:
- Replies: 8
- Views: 1655
Decrypt String:
Hi forum, coult you please help me decrypting that stirng:
0-terminierter ascii-string..:
char s[]={0x90,0x94,0x80,0x80,0x8a,0xc0,0xe1};
the extracted bytes (6 and the 0-terminating byte) are the following:
; 144
; 148
; 128
; 128
; 138
; 192
; 225
so 225 must be 0..
I don't know the result ...
0-terminierter ascii-string..:
char s[]={0x90,0x94,0x80,0x80,0x8a,0xc0,0xe1};
the extracted bytes (6 and the 0-terminating byte) are the following:
; 144
; 148
; 128
; 128
; 138
; 192
; 225
so 225 must be 0..
I don't know the result ...
- Fri Dec 31, 2010 10:17 pm
- Forum: Coding Questions
- Topic: Funny christmas bug
- Replies: 5
- Views: 1531
Re: Funny christmas bug
Damn Axe.. we say in bavaria.. (verdammte Axt..)
so compilerif has a higher priority than a macro o.O...
I would like to choose the priority.. well.. in this case ^^
ok, so thanks for helping again
and have a good flush into the next year
so compilerif has a higher priority than a macro o.O...
I would like to choose the priority.. well.. in this case ^^
ok, so thanks for helping again
and have a good flush into the next year
- Wed Dec 29, 2010 8:56 pm
- Forum: Coding Questions
- Topic: Funny christmas bug
- Replies: 5
- Views: 1531
Funny christmas bug
Hi Forum,
we were just messing a bit around in the german purebasic forum,
and found SUDDENLY this .. comic.. mistake..
watch the amount of compilerendif / compilerif - s..
Macro If_Home_is_defined
CompilerIf ((~Defined(home,#PB_Constant)) & %00000001)
EndMacro
Macro then_write_hello
Debug ...
we were just messing a bit around in the german purebasic forum,
and found SUDDENLY this .. comic.. mistake..
watch the amount of compilerendif / compilerif - s..
Macro If_Home_is_defined
CompilerIf ((~Defined(home,#PB_Constant)) & %00000001)
EndMacro
Macro then_write_hello
Debug ...
- Tue Dec 28, 2010 9:51 pm
- Forum: Coding Questions
- Topic: Help with webcam or video stream
- Replies: 52
- Views: 32709
Re: Help with webcam or video stream
doesn't function on windows 7
neither with PB nor c++..
alternative?
neither with PB nor c++..
alternative?
- Sun Oct 31, 2010 8:04 pm
- Forum: Announcement
- Topic: N3XTD: 3D engine
- Replies: 201
- Views: 107284
Re: N3XTD: 3D engine
the functining lib is now uploaded, sorry for the long wait...... . .
but I am a human ! and have other projects ^^ :)
the colllisionresponseanimator is a great tool that shouldn't be missed!
thanks Pureleo :)
http://gemusoft.de/?page_id=116
For all who already have the NEXTD engine: Just ...
but I am a human ! and have other projects ^^ :)
the colllisionresponseanimator is a great tool that shouldn't be missed!
thanks Pureleo :)
http://gemusoft.de/?page_id=116
For all who already have the NEXTD engine: Just ...
- Wed Oct 27, 2010 5:38 pm
- Forum: Game Programming
- Topic: n3xtd : Transparency and masking problem
- Replies: 2
- Views: 1931
Re: n3xtd : Transparency and masking problem
good luck, tell us if you got experience in shader programming!.
I only can tell you how to implement them into n3xtd..

yours
walker
I only can tell you how to implement them into n3xtd..
yours
walker
- Sun Oct 03, 2010 10:21 pm
- Forum: Coding Questions
- Topic: Print Image without PrintDIALOG()
- Replies: 2
- Views: 964
Re: Print Image without PrintDIALOG()
you... are genious!! thanks a lot guy, you owe me one ^^
[edit] well...other way around..^^[/edit]
i failed to see this solution^^
yours
walker
i failed to see this solution^^
yours
walker
- Sat Oct 02, 2010 6:45 pm
- Forum: Coding Questions
- Topic: Print Image without PrintDIALOG()
- Replies: 2
- Views: 964
Print Image without PrintDIALOG()
hi,
I have to print some text and a picture to the default printer for my current projekt. (meassurement system that bases on an own gui for industry)
(you can choose the default printer if you want to via an own dialogwindow)
how can I print something without calling the Printdialog()-command ...
I have to print some text and a picture to the default printer for my current projekt. (meassurement system that bases on an own gui for industry)
(you can choose the default printer if you want to via an own dialogwindow)
how can I print something without calling the Printdialog()-command ...
- Sun Sep 26, 2010 10:37 am
- Forum: Announcement
- Topic: N3XTD: 3D engine
- Replies: 201
- Views: 107284
Re: N3XTD: 3D engine
the strange thing is that on some computer the xeffect works and on some it doesn't.. ^^
maybe it's a matter of your graphiccard's shader model?
on gtx 280m and 8800 gtx -machines it works great..
maybe it's a matter of your graphiccard's shader model?
on gtx 280m and 8800 gtx -machines it works great..
- Thu Aug 12, 2010 11:31 pm
- Forum: Feature Requests and Wishlists
- Topic: LUA-Script
- Replies: 10
- Views: 3536
Re: LUA-Script
Lua is very fast.
you can easily update your software by changing the lua-code instead of recompiling the whole exe etc.
you can use your lua-skills in plenty other software that use lua skripts (for example you can use lua in the leadwerks engine aswell etc)
but the major positive aspekt is - in my ...
you can easily update your software by changing the lua-code instead of recompiling the whole exe etc.
you can use your lua-skills in plenty other software that use lua skripts (for example you can use lua in the leadwerks engine aswell etc)
but the major positive aspekt is - in my ...
- Fri Aug 06, 2010 1:56 pm
- Forum: Coding Questions
- Topic: createsprite3d( OVER 100000 !
- Replies: 5
- Views: 1454
Re: createsprite3d( OVER 100000 !
ah ok.. so I only can't use a with #pb_any- created number twice..^^
well that's not that bad then..
I will see what I can do hehe
^^
the result will be shown in about one month^^
thanks for the help
yours
max
well that's not that bad then..
I will see what I can do hehe
the result will be shown in about one month^^
thanks for the help
yours
max
- Fri Aug 06, 2010 1:27 pm
- Forum: Coding Questions
- Topic: createsprite3d( OVER 100000 !
- Replies: 5
- Views: 1454
Re: createsprite3d( OVER 100000 !
wait a second.. #pb_any wastes memory? o.O! :|
I thought this is just a kind of ID .. in this case I will make an own "#any" function that gives me the next free lowest ID.
procedure registerSprite3d() ; gets new sprite 3d ID
procedure UnRegisterSprite3d(sprite3dID) ; deletes sprite3DID.
or so ...
I thought this is just a kind of ID .. in this case I will make an own "#any" function that gives me the next free lowest ID.
procedure registerSprite3d() ; gets new sprite 3d ID
procedure UnRegisterSprite3d(sprite3dID) ; deletes sprite3DID.
or so ...