modifiers

BlitzMax Forums/BlitzMax Programming/modifiers

drnmr(Posted 2006) [#1]
for some reason keys listed as modifiers wont work for me. does anyone know what might be wrong?


Koriolis(Posted 2006) [#2]
You really need to learn how to ask something on these forums.
You provided almost no information apart the word "modifier". Some speicifc context, and above all some code would be a good idea.


N(Posted 2006) [#3]
The quadratic equation exploded.


FlameDuck(Posted 2006) [#4]
You provided almost no information apart the word "modifier". Some speicifc context, and above all some code would be a good idea.
I'm going to reitterate this point, because it's an important one.

If you don't produce the code in question, there is no reasonable way we can duplicate (or not) the issue you're having. Don't worry, nobody is going to laugh at your code. Not to your face, anyway. :o>


drnmr(Posted 2006) [#5]
im talking about the keys in the keycode list under "modifier" such as modifier_control


Perturbatio(Posted 2006) [#6]
yes, but you haven't provided code to show in which context you are attempting to use them.


drnmr(Posted 2006) [#7]
if mousehit(mouse_left)
if keydown(modifier_control)
drawrect 90,45,mousex(),mousey()
endif
endif

this is something ive tried to figure out what was wrong with my "main" program


Chris C(Posted 2006) [#8]
if you really want help post a *small* piece of code that can be pasted into max and will run, ie that is self contained

as it is your expecting someone to go to a lot of trouble to add extra code just to see your problem, let alone provide an answer....


N(Posted 2006) [#9]
Try MouseHit( MOUSE_LEFT | MODIFIER_CONTROL )


drnmr(Posted 2006) [#10]
try this then:



tonyg(Posted 2006) [#11]
this and
this explain it all.
Use KEY_LCONTROL


drnmr(Posted 2006) [#12]
thanks! everything working now... almost.